Commit 52d2cee0 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Join the two list before iterate over their content.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1512 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent fe38a6ca
......@@ -284,9 +284,7 @@ class Application(object):
break
# Close all connections.
for conn in self.em.getClientList():
conn.close()
for conn in self.em.getServerList():
for conn in self.em.getClientList() + self.em.getServerList():
conn.close()
......
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