X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fconnection.py;h=31ecd531429e7f5834b11fbf17a3c19fcd6b908b;hb=3b43bd098274b1944cf6dc252ec1d53b0a0ba4cb;hp=933c3723cead28e240a90fee971c82ff1df18041;hpb=1b22dfcd96cf21cdd073273af9b242176673f937;p=theonering diff --git a/src/connection.py b/src/connection.py index 933c372..31ecd53 100644 --- a/src/connection.py +++ b/src/connection.py @@ -302,4 +302,9 @@ class TheOneRingConnection( self.session.logout() self.session.close() + # In case one of the above items takes too long (which it should never + # do), we leave the starting of the shutdown-on-idle counter to the + # very end + self.manager.disconnect_completed(self) + _moduleLogger.info("Disconnected")