Feng Lee 9 лет назад
Родитель
Сommit
2181bd7850
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      src/emqttd.erl

+ 2 - 4
src/emqttd.erl

@@ -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).