diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-01-19 22:21:27 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-01-19 22:21:27 +0000 |
commit | 55d51ed27ed18dc32d61168f0797c01f508ada78 (patch) | |
tree | 2dac03f4dc073076cfec1c1891178cc1f9d455a7 | |
parent | bbb71f861fe3cfd231d788d97b897f18d49feaf1 (diff) | |
download | rabbitmq-server-55d51ed27ed18dc32d61168f0797c01f508ada78.tar.gz |
clear permission cache before hibernating
-rw-r--r-- | src/rabbit_channel.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index fd9bb926..ce061467 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -153,6 +153,7 @@ handle_info({'EXIT', _Pid, Reason}, State) -> {stop, Reason, State}; handle_info(timeout, State) -> + ok = clear_permission_cache(), %% TODO: Once we drop support for R11B-5, we can change this to %% {noreply, State, hibernate}; proc_lib:hibernate(gen_server2, enter_loop, [?MODULE, [], State]). |