for c in self.connectors:
c.disconnect()
if self.notificationFactory:
+ self.notificationFactory.stopTrying()
self.notificationFactory.msncon = None
self.connectors = []
for sbs in self.switchboardSessions.values():
self.connectionLost = self.doDisconnect
def connectionLost(self, reason):
+ if not self.factory.msncon:
+ # If MSNConnection.logOut is called before _notificationClientReady
+ return
+
def wait():
LogEvent(INFO, self.factory.msncon.ident)
msn.NotificationClient.connectionLost(self, reason)