Commit 3eef22e6 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix connection variable name to be removed from the connection pool.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1211 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 98c36b14
...@@ -174,7 +174,7 @@ class PrimaryNotificationsHandler(BaseHandler): ...@@ -174,7 +174,7 @@ class PrimaryNotificationsHandler(BaseHandler):
conn.close() conn.close()
if node_type == protocol.STORAGE_NODE_TYPE: if node_type == protocol.STORAGE_NODE_TYPE:
# Remove from pool connection # Remove from pool connection
app.cp.removeConnection(n) app.cp.removeConnection(conn)
self.dispatcher.unregister(conn) self.dispatcher.unregister(conn)
class PrimaryAnswersHandler(AnswerBaseHandler): class PrimaryAnswersHandler(AnswerBaseHandler):
......
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