mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
* src/mod_echo.erl: The mod_echo can now be stopped without errors.
This is not a major issue, but can mislead other developers learning from this example and test module (Thanks to Magnus Henoch) (EJAB-163). SVN Revision: 696
This commit is contained in:
parent
c265da885a
commit
76522293a5
@ -1,5 +1,9 @@
|
||||
2006-12-15 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/mod_echo.erl: The mod_echo can now be stopped without errors.
|
||||
This is not a major issue, but can mislead other developers learning
|
||||
from this example and test module (Thanks to Magnus Henoch).
|
||||
|
||||
* TODO: Removed. The roadmap is managed on:
|
||||
http://support.process-one.net/browse/EJAB
|
||||
|
||||
|
@ -52,7 +52,9 @@ start(Host, Opts) ->
|
||||
stop(Host) ->
|
||||
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||
gen_server:call(Proc, stop),
|
||||
supervisor:stop_child(ejabberd_sup, Proc).
|
||||
supervisor:terminate_child(ejabberd_sup, Proc),
|
||||
supervisor:delete_child(ejabberd_sup, Proc).
|
||||
|
||||
|
||||
%%====================================================================
|
||||
%% gen_server callbacks
|
||||
|
Loading…
Reference in New Issue
Block a user