Fixed zeromq ReqMessageClient destroy

This commit is contained in:
Dmitry Kuzmenko 2016-02-12 18:30:54 +03:00 committed by rallytime
parent 2899d73273
commit 85266349e1

View File

@ -790,6 +790,7 @@ class AsyncReqMessageClient(object):
self.stream.io_loop.remove_handler(self.stream.socket)
# set this to None, more hacks for messed up pyzmq
self.stream.socket = None
self.stream = None
self.socket.close()
if self.context.closed is False:
self.context.term()