unregister_mod when stopped
This commit is contained in:
parent
bb2940cfb6
commit
6c947dff1d
|
@ -16,4 +16,6 @@ start(_StartType, _StartArgs) ->
|
||||||
{ok, Sup}.
|
{ok, Sup}.
|
||||||
|
|
||||||
stop(_State) ->
|
stop(_State) ->
|
||||||
|
emqttd_access_control:unregister_mod(auth, emqttd_plugin_demo_auth),
|
||||||
|
emqttd_access_control:unregister_mod(acl, emqttd_plugin_demo_acl),
|
||||||
ok.
|
ok.
|
||||||
|
|
Loading…
Reference in New Issue