summaryrefslogtreecommitdiff
path: root/src/supervisor2.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-12 05:39:02 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-12 05:39:02 +0100
commitd537bc6dfee5fd60b17a491bc46e7c9c78ce9bfb (patch)
treeeb380b027cd4d2f6b4c94008c83882468a2d4bef /src/supervisor2.erl
parentf1282da0f8e33c7e9305b67cdcf2e9ba03d5c2e3 (diff)
downloadrabbitmq-server-d537bc6dfee5fd60b17a491bc46e7c9c78ce9bfb.tar.gz
never ignore 'noproc' during shutdown
We have no idea why the child died. Furthermore, we will only ever get this when a child has unlinked itself from the supervisor, which is naughty and shouldn't go unnoticed.
Diffstat (limited to 'src/supervisor2.erl')
-rw-r--r--src/supervisor2.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl
index edd43ec0..dc55dbb6 100644
--- a/src/supervisor2.erl
+++ b/src/supervisor2.erl
@@ -735,7 +735,6 @@ monitor_child(Pid) ->
check_shutdown_reason(Reason, Reason) -> ok;
check_shutdown_reason(_ , normal) -> ok;
-check_shutdown_reason(_ , noproc) -> ok;
check_shutdown_reason(Reason, _) -> {error, Reason}.
%%-----------------------------------------------------------------