mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
kill a zmq finally
This commit is contained in:
parent
2680b0bba9
commit
a52957a0af
@ -156,10 +156,7 @@ class SREQ(object):
|
||||
timeout * tried
|
||||
)
|
||||
)
|
||||
try:
|
||||
return self.serial.loads(self.socket.recv())
|
||||
finally:
|
||||
self.poller.unregister(self.socket)
|
||||
return self.serial.loads(self.socket.recv())
|
||||
|
||||
def send_auto(self, payload):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user