mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Stop SASL application in ejabberd_logger:flush()
This commit is contained in:
parent
f1a35cc9ac
commit
e8fe68543e
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,6 @@ stop() ->
|
|||
application:stop(ejabberd).
|
||||
|
||||
halt() ->
|
||||
application:stop(sasl),
|
||||
ejabberd_logger:flush(),
|
||||
erlang:halt(1, [{flush, true}]).
|
||||
|
||||
|
|
|
@ -242,7 +242,8 @@ get_lager_version() ->
|
|||
end.
|
||||
|
||||
flush() ->
|
||||
application:stop(lager).
|
||||
application:stop(lager),
|
||||
application:stop(sasl).
|
||||
|
||||
-else.
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue