projects
/
theonering
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fix
[theonering]
/
src
/
connection.py
diff --git
a/src/connection.py
b/src/connection.py
index
933c372
..
236dc9a
100644
(file)
--- a/
src/connection.py
+++ b/
src/connection.py
@@
-302,4
+302,9
@@
class TheOneRingConnection(
self.session.logout()
self.session.close()
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")
_moduleLogger.info("Disconnected")