mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Avoid stopping mod_offline before supervisor termination (#1464)
This commit is contained in:
parent
ce42b6be01
commit
c7476875e6
@ -122,7 +122,6 @@ start(Host, Opts) ->
|
||||
|
||||
stop(Host) ->
|
||||
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||
catch ?GEN_SERVER:call(Proc, stop),
|
||||
supervisor:terminate_child(ejabberd_sup, Proc),
|
||||
supervisor:delete_child(ejabberd_sup, Proc),
|
||||
ok.
|
||||
|
Loading…
Reference in New Issue
Block a user