mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fixed zeromq ReqMessageClient destroy
This commit is contained in:
parent
2899d73273
commit
85266349e1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user