unload
This commit is contained in:
parent
281ab7b929
commit
2181bd7850
|
@ -14,7 +14,7 @@
|
||||||
%% limitations under the License.
|
%% limitations under the License.
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
%% Facade Module for The EMQTT Broker
|
%% Facade Module for The EMQ Broker
|
||||||
|
|
||||||
-module(emqttd).
|
-module(emqttd).
|
||||||
|
|
||||||
|
@ -59,9 +59,7 @@ start() -> application:start(?APP).
|
||||||
|
|
||||||
%% @doc Stop emqttd application.
|
%% @doc Stop emqttd application.
|
||||||
-spec(stop() -> ok | {error, any()}).
|
-spec(stop() -> ok | {error, any()}).
|
||||||
stop() ->
|
stop() -> application:stop(?APP).
|
||||||
emqttd_plugins:unload(),
|
|
||||||
init:stop().
|
|
||||||
|
|
||||||
%% @doc Environment
|
%% @doc Environment
|
||||||
-spec(env(Key:: atom()) -> {ok, any()} | undefined).
|
-spec(env(Key:: atom()) -> {ok, any()} | undefined).
|
||||||
|
|
Loading…
Reference in New Issue