Skip to content
Snippets Groups Projects
Commit 114264ca authored by dkirov's avatar dkirov
Browse files

stop if Process has return 0, meaning that it

closed the connection
parent b963fd1b
No related branches found
No related tags found
No related merge requests found
......@@ -357,6 +357,10 @@ class Dispatcher(PlugIn):
if data is None:
return
res = self.ProcessNonBlocking(data)
# 0 result indicates that we have closed the connection, e.g.
# we have released dispatcher, so self._owner has no methods
if not res:
return
self._owner.remove_timeout()
if self._expected[self._witid] is None:
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment