This commit is contained in:
Feng Lee 2015-05-04 19:58:54 +08:00
parent 9b9b6b018f
commit f0b544369b
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ loaded_plugins() ->
-spec unload_all_plugins() -> [{App :: atom(), ok | {error, any()}}]. -spec unload_all_plugins() -> [{App :: atom(), ok | {error, any()}}].
unload_all_plugins() -> unload_all_plugins() ->
PluginApps = application:get_env(emqttd, plugins, []), PluginApps = application:get_env(emqttd, plugins, []),
[{App, unload_plugin(App)} || {App, _Env} <- PluginApps]. [{App, unload_plugin(App)} || App <- PluginApps].
%%------------------------------------------------------------------------------ %%------------------------------------------------------------------------------