Stop alarm before emqx stops

This commit is contained in:
terry-xiaoyu 2019-05-28 16:57:27 +08:00 committed by turtleDeng
parent 0857b976ed
commit be7de756c6
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ start(_Type, _Args) ->
-spec(stop(State :: term()) -> term()).
stop(_State) ->
emqx_alarm_handler:unload(),
emqx_listeners:stop(),
emqx_modules:unload().