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): ...@@ -184,8 +184,9 @@ class Application(object):
if node is not None and node.isHidden(): if node is not None and node.isHidden():
self.wait() self.wait()
# drop any client node # drop any client node
for node in self.nm.getClientList(only_identified=True): for conn in self.em.getConnectionList():
node.getConnection().close() if conn not in (self.listening_conn, self.master_conn):
conn.close()
# create/clear event queue # create/clear event queue
self.event_queue = deque() self.event_queue = deque()
try: 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