This commit is contained in:
Feng Lee 2016-12-01 19:12:45 +08:00
parent 281ab7b929
commit 2181bd7850
1 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,7 @@
%% limitations under the License.
%%--------------------------------------------------------------------
%% Facade Module for The EMQTT Broker
%% Facade Module for The EMQ Broker
-module(emqttd).
@ -59,9 +59,7 @@ start() -> application:start(?APP).
%% @doc Stop emqttd application.
-spec(stop() -> ok | {error, any()}).
stop() ->
emqttd_plugins:unload(),
init:stop().
stop() -> application:stop(?APP).
%% @doc Environment
-spec(env(Key:: atom()) -> {ok, any()} | undefined).