mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/ejabberd_listener.erl: When stopping a listener, don't stop
the listener supervisor (EJAB-874) SVN Revision: 1891
This commit is contained in:
parent
6e055f60de
commit
ce03742e1b
@ -1,3 +1,8 @@
|
||||
2009-02-20 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/ejabberd_listener.erl: When stopping a listener, don't stop
|
||||
the listener supervisor (EJAB-874)
|
||||
|
||||
2009-02-19 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: fix nodetree plugin resolver
|
||||
|
@ -260,10 +260,7 @@ start_listener_sup(Port, Module, Opts) ->
|
||||
|
||||
stop_listener(Port, Module) ->
|
||||
supervisor:terminate_child(ejabberd_listeners, Port),
|
||||
supervisor:delete_child(ejabberd_listeners, Port),
|
||||
Proc1 = gen_mod:get_module_proc("sup", Module),
|
||||
supervisor:terminate_child(ejabberd_sup, Proc1),
|
||||
supervisor:delete_child(ejabberd_sup, Proc1).
|
||||
supervisor:delete_child(ejabberd_listeners, Port).
|
||||
|
||||
%% @spec (PortIP, Module, Opts) -> {ok, Pid} | {error, Error}
|
||||
%% where
|
||||
|
Loading…
Reference in New Issue
Block a user