summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-12-19 16:28:03 +0000
committerMatthew Sackman <matthew@lshift.net>2009-12-19 16:28:03 +0000
commitfb7dae6fa8a942cb9e6ec8967e5baf4d25307872 (patch)
treefd8e0bc66c35ab8ad3945da63118d4380aa8ca95
parente93a601adcbb602c77280d52a105af90911cf279 (diff)
parent54e4214d39335982d23d7165c2a2696e7db19a81 (diff)
downloadrabbitmq-server-fb7dae6fa8a942cb9e6ec8967e5baf4d25307872.tar.gz
merging into bug 22161 from bug 21673
-rw-r--r--src/rabbit_amqqueue_process.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index d4d9611a..7fe89af6 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -920,6 +920,9 @@ handle_info({file_handle_cache, maximum_eldest_since_use, Age}, State) ->
ok = file_handle_cache:set_maximum_since_use(Age),
noreply(State);
+handle_info({'EXIT', _Pid, Reason}, State) ->
+ {stop, Reason, State};
+
handle_info(Info, State) ->
?LOGDEBUG("Info in queue: ~p~n", [Info]),
{stop, {unhandled_info, Info}, State}.