Commit 8706262a authored by Grégory Wisniewski's avatar Grégory Wisniewski

Clear queued events after node disconnection.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2077 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f132761c
......@@ -166,11 +166,10 @@ class Application(object):
node = self.nm.getByUUID(self.uuid)
if node is not None and node.isHidden():
self.wait()
# This is a queue of events used to delay operations due to locks.
self.event_queue = deque()
# drop any client node
# drop any client node and clear event queue
for node in self.nm.getClientList():
node.getConnection().close()
self.event_queue = deque()
try:
self.verifyData()
self.initialize()
......
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