25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Skip connection exit message when we triggered reconnection

This commit is contained in:
Paweł Chmielowski 2022-07-28 19:25:17 +02:00
parent 2b3644c8ac
commit 9b647a7afe

View File

@ -443,6 +443,8 @@ handle_sync_event(_Event, _From, StateName, State) ->
code_change(_OldVsn, StateName, State, _Extra) ->
{ok, StateName, State}.
handle_info({'EXIT', _Pid, _Reason}, connecting, State) ->
{next_state, connecting, State};
handle_info({'EXIT', _Pid, Reason}, _StateName, State) ->
handle_reconnect(Reason, State);
handle_info(Info, StateName, State) ->