Commit a7bdccef authored by Vincent Pelletier's avatar Vincent Pelletier

Also close connections which are pending identification.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2346 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3feef345
......@@ -184,8 +184,9 @@ class Application(object):
if node is not None and node.isHidden():
self.wait()
# drop any client node
for node in self.nm.getClientList(only_identified=True):
node.getConnection().close()
for conn in self.em.getConnectionList():
if conn not in (self.listening_conn, self.master_conn):
conn.close()
# create/clear event queue
self.event_queue = deque()
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment