From 0d9afd546c06d0af5a7b5d3f1d81fe96f280fc20 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Mon, 3 Apr 2023 12:47:38 +0200 Subject: [PATCH] feat(core): Remove ignoreLock --- packages/moxxmpp/lib/src/connection.dart | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/moxxmpp/lib/src/connection.dart b/packages/moxxmpp/lib/src/connection.dart index 65f80d5..c8f77ea 100644 --- a/packages/moxxmpp/lib/src/connection.dart +++ b/packages/moxxmpp/lib/src/connection.dart @@ -353,7 +353,6 @@ class XmppConnection { _log.finest('Calling _connectImpl() from _attemptReconnection'); await _connectImpl( waitForConnection: true, - ignoreLock: true, ); } @@ -1060,17 +1059,12 @@ class XmppConnection { /// The private implementation for [XmppConnection.connect]. The parameters have /// the same meaning as with [XmppConnection.connect]. - /// - /// [ignoreLock] is a flag that, if true, causes the method to not try to aquire - /// a connection lock. This is useful when we already aquired the connection lock, - /// for example, in _attemptReconnection. Future> _connectImpl({ String? lastResource, bool waitForConnection = false, bool shouldReconnect = true, bool waitUntilLogin = false, bool enableReconnectOnSuccess = true, - bool ignoreLock = false, }) async { // Kill a possibly existing connection _socket.close();