Commit 0609bc5d authored by ben's avatar ben

Added explicit pipe close on server quit


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@228 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent abcb41a1
......@@ -313,6 +313,7 @@ class PipeConnection(LowLevelPipeConnection):
try: req_num, object = self._get()
except ConnectionQuit:
self._put("quitting", self.get_new_req_num())
self._close()
return
if req_num == desired_req_num: return object
else:
......
......@@ -313,6 +313,7 @@ class PipeConnection(LowLevelPipeConnection):
try: req_num, object = self._get()
except ConnectionQuit:
self._put("quitting", self.get_new_req_num())
self._close()
return
if req_num == desired_req_num: return object
else:
......
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