fix(core): Reset the connection tracker when timing out
This commit is contained in:
1 parent
ac5e0c13b7
commit
52ad9a7ddb
1 file changed
+1
@@ -600,6 +600,7 @@ class XmppConnection {
|
||||
/// Called when we timeout during connecting
|
||||
Future<void> _onConnectingTimeout() async {
|
||||
_log.severe('Connection stuck in "connecting". Causing a reconnection...');
|
||||
await _resetIsConnectionRunning();
|
||||
await handleError(TimeoutError());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user