Feng Lee 10 лет назад
Родитель
Сommit
6c947dff1d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      plugins/emqttd_plugin_demo/src/emqttd_plugin_demo_app.erl

+ 2 - 0
plugins/emqttd_plugin_demo/src/emqttd_plugin_demo_app.erl

@@ -16,4 +16,6 @@ start(_StartType, _StartArgs) ->
     {ok, Sup}.
 
 stop(_State) ->
+    emqttd_access_control:unregister_mod(auth, emqttd_plugin_demo_auth),
+    emqttd_access_control:unregister_mod(acl, emqttd_plugin_demo_acl),
     ok.