[server/repository] Go through the repo to close pyro sessions stable
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 26 Jun 2013 09:35:54 +0200
branchstable
changeset 9132 b6bcf99504c9
parent 9131 b3ad80aa645f
child 9133 5f85e5ecbdb0
[server/repository] Go through the repo to close pyro sessions Turns out session.close() doesn't DTRT.
server/repository.py
--- a/server/repository.py	Fri May 31 11:13:06 2013 +0200
+++ b/server/repository.py	Wed Jun 26 09:35:54 2013 +0200
@@ -1661,7 +1661,7 @@
                 # client was not yet connected to the repo
                 return
             if not session.closed:
-                session.close()
+                self.close(session.id)
         daemon.removeConnection = removeConnection
         return daemon