diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-12 05:39:02 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-12 05:39:02 +0100 |
| commit | 7a5439363df2ba639adc5d2a209df75528b30c0d (patch) | |
| tree | eb380b027cd4d2f6b4c94008c83882468a2d4bef /src | |
| parent | f937755fe73ec9600e4849666de8e68e3e1616b7 (diff) | |
| download | rabbitmq-server-git-7a5439363df2ba639adc5d2a209df75528b30c0d.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')
| -rw-r--r-- | src/supervisor2.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl index edd43ec002..dc55dbb66c 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}. %%----------------------------------------------------------------- |
