Commit c84b66ca authored by Grégory Wisniewski's avatar Grégory Wisniewski

Broadcast information about a node lost before do specific actions to ensure

messages are sent, even if _nodeLost() method raise an exception (like an
OperationException).


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@880 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 11b77fc7
......@@ -38,8 +38,8 @@ class MasterHandler(EventHandler):
self.app.nm.remove(node)
node.setState(new_state)
# clean node related data in specialized handlers
self._nodeLost(conn, node)
self.app.broadcastNodeInformation(node)
self._nodeLost(conn, node)
def connectionClosed(self, conn):
node = self.app.nm.getNodeByUUID(conn.getUUID())
......
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