mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Also catch 'shutdown' exit reason
This commit is contained in:
parent
15f50f5331
commit
651d69fb98
@ -664,6 +664,8 @@ inherit_session_state(#{user := U, server := S,
|
||||
{error, session_is_dead};
|
||||
exit:{normal, _} ->
|
||||
{error, session_has_exited};
|
||||
exit:{shutdown, _} ->
|
||||
{error, session_has_exited};
|
||||
exit:{killed, _} ->
|
||||
{error, session_was_killed};
|
||||
exit:{timeout, _} ->
|
||||
|
Loading…
Reference in New Issue
Block a user