X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fconnection.py;h=236dc9a7df28a579f167a9171a16cf262e302067;hb=f7ab8d4307b8418dec52a4dbaa82d72c3cd81a36;hp=933c3723cead28e240a90fee971c82ff1df18041;hpb=44e05d3723303bd1099576571770ed265363bcf5;p=theonering diff --git a/src/connection.py b/src/connection.py index 933c372..236dc9a 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() + _moduleLogger.info("Disconnected")