mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix mod_offline termination
This commit is contained in:
parent
b7726ee392
commit
4d2924a3ef
@ -97,7 +97,8 @@ start(Host, Opts) ->
|
||||
|
||||
stop(Host) ->
|
||||
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||
?GEN_SERVER:call(Proc, stop),
|
||||
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