summaryrefslogtreecommitdiff
path: root/src
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
commitc733a53080902ca719ac2029f92615efedc3c1c0 (patch)
treefd8e0bc66c35ab8ad3945da63118d4380aa8ca95 /src
parentf0bcbed84b2fe7e9b3791f2d676ed650dd9fa2d3 (diff)
parent97d6bd33c0c4b4c6946eacb0aff518c3dec001d4 (diff)
downloadrabbitmq-server-git-c733a53080902ca719ac2029f92615efedc3c1c0.tar.gz
merging into bug 22161 from bug 21673
Diffstat (limited to 'src')
-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 d4d9611a43..7fe89af61e 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}.