summaryrefslogtreecommitdiff
path: root/src/rabbit_event.erl
diff options
context:
space:
mode:
authorJohn DeTreville <jdetreville@vmware.com>2011-02-07 17:22:40 -0800
committerJohn DeTreville <jdetreville@vmware.com>2011-02-07 17:22:40 -0800
commitff50bb3990b48d58b533ffe86bc8a7faa18b9982 (patch)
treebdb84da5d7e1a6f89732b2d6cccd3ea83030cc35 /src/rabbit_event.erl
parente8344dabf107d074162aa786af539b9d60c09378 (diff)
downloadrabbitmq-server-ff50bb3990b48d58b533ffe86bc8a7faa18b9982.tar.gz
Dies in rabbit_channel:handle_info with emit_stats msg. Will fix typo in the morning. Also dies in com.rabbitmq.client.test.server.EffectVisibilityCrossNodeTest.testEffectVisibility test, but so does the default branch.
Diffstat (limited to 'src/rabbit_event.erl')
-rw-r--r--src/rabbit_event.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_event.erl b/src/rabbit_event.erl
index 90b2f66c..f4ee279b 100644
--- a/src/rabbit_event.erl
+++ b/src/rabbit_event.erl
@@ -110,7 +110,7 @@ stop_stats_timer(State = #state{level = none}) ->
stop_stats_timer(State = #state{timer = undefined}) ->
State;
stop_stats_timer(State = #state{timer = TRef}) ->
- erlang:cancel_timer(TRef),
+ _ = erlang:cancel_timer(TRef),
State#state{timer = undefined}.
reset_stats_timer(State) ->