summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-05-08 14:04:30 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-05-08 14:04:30 +0100
commitb45c3e92a5e426fa6db6ed111f7232ea45a3a6b5 (patch)
tree53598d5c9d1a434f9c45f72fd04f87fe23e08a06
parent11a82c68762e25b38c3f170cf8145d1c134c83f1 (diff)
downloadrabbitmq-server-b45c3e92a5e426fa6db6ed111f7232ea45a3a6b5.tar.gz
Oops
-rw-r--r--src/mirrored_supervisor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl
index 8f37525d..4fc488b8 100644
--- a/src/mirrored_supervisor.erl
+++ b/src/mirrored_supervisor.erl
@@ -344,7 +344,7 @@ handle_cast(Msg, State) ->
{stop, {unexpected_cast, Msg}, State}.
handle_info({'DOWN', _Ref, process, Pid, Reason},
- State = #state{delegate = Pid, group = Group}) ->
+ State = #state{overall = Pid, group = Group}) ->
%% Since the delegate is temporary, its death won't cause us to
%% die. Since the overall supervisor kills processes in reverse
%% order when shutting down "from above" and we started after the