From: Ed Page Date: Wed, 24 Feb 2010 03:46:51 +0000 (-0600) Subject: Adjusting the disconnect code X-Git-Url: http://git.maemo.org/git/?p=theonering;a=commitdiff_plain;h=cf6bbc96c0e4b3bb240c61df09e0e71afdd602a8 Adjusting the disconnect code --- diff --git a/src/connection.py b/src/connection.py index c209370..145d6a2 100644 --- a/src/connection.py +++ b/src/connection.py @@ -298,9 +298,10 @@ class TheOneRingConnection( plumber.stop() self.__channelManager.close() + self.manager.disconnected(self) + self.session.save(self.__cachePath) self.session.logout() self.session.close() - self.manager.disconnected(self) _moduleLogger.info("Disconnected")