summaryrefslogtreecommitdiff
path: root/src
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
commit39626c1edc5e73ae8e595cb73ffc98aecbb2522d (patch)
tree1a2802d88d50e24b4a5df58e1187f3d59de367eb /src
parentc449eae0a256326228e69207dcb72154274d4815 (diff)
downloadrabbitmq-server-git-39626c1edc5e73ae8e595cb73ffc98aecbb2522d.tar.gz
Oops.
Diffstat (limited to 'src')
-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 81f8c27409..7817626c8b 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};