Make sure that the global disconnect handler is also called
This commit is contained in:
parent
401f29a9a2
commit
8deee6c0a7
@ -126,6 +126,7 @@ internal class ServerHandshake<CONNECTION : Connection>(
|
||||
// this always has to be on event dispatch, otherwise we can have weird logic loops if we reconnect within a disconnect callback
|
||||
actionDispatch.launch {
|
||||
existingConnection.doNotifyDisconnect()
|
||||
listenerManager.notifyDisconnect(existingConnection)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user