25
1
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:
Evgeny Khramtsov 2019-07-30 23:17:10 +03:00
parent 15f50f5331
commit 651d69fb98

View File

@ -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, _} ->