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 | d61b7206a3da2c8614b7083c8f1d1606197c207c (patch) | |
| tree | 2dac03f4dc073076cfec1c1891178cc1f9d455a7 | |
| parent | 260e1a21a4a81bd1d0586d4bc784bd296dbfc9c3 (diff) | |
| download | rabbitmq-server-git-d61b7206a3da2c8614b7083c8f1d1606197c207c.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 fd9bb9269f..ce061467f2 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]). |
