summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-06-10 17:53:31 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-06-10 17:53:31 +0100
commit7f07114a267a6ec9792f69ec889c8f18666b6603 (patch)
tree1a2802d88d50e24b4a5df58e1187f3d59de367eb
parent7950556ca268a12f6d9cd747c568761d1e9958a4 (diff)
downloadrabbitmq-server-7f07114a267a6ec9792f69ec889c8f18666b6603.tar.gz
Oops.
-rw-r--r--src/rabbit_plugins.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl
index 81f8c274..7817626c 100644
--- a/src/rabbit_plugins.erl
+++ b/src/rabbit_plugins.erl
@@ -52,8 +52,8 @@ ensure(FileJustChanged) ->
%% We need sync_notify here since mgmt will attempt to look at all
%% the modules for the disabled plugins - if they are unloaded
%% that won't work.
- ok = rabbit_event:notify(plugins_changed, [{enabled, Start},
- {disabled, Stop}]),
+ ok = rabbit_event:sync_notify(plugins_changed, [{enabled, Start},
+ {disabled, Stop}]),
rabbit:stop_apps(Stop),
clean_plugins(Stop),
{ok, Start, Stop};