diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-01-17 14:31:00 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-01-17 14:31:00 +0300 |
commit | c7476875e65ce648ea58364fecbc2097a2285da1 (patch) | |
tree | 8c219ea517641ba7d0d2ec39e61e04bd92ddc3cb | |
parent | Add example api_permisions: definition to config template (diff) |
Avoid stopping mod_offline before supervisor termination (#1464)
-rw-r--r-- | src/mod_offline.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl index 0c8c3f7a9..75f16f5bf 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -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. |