feat(python): shutdown rpc on cleanup
This commit is contained in:
parent
c5bc97b0bc
commit
36e1bbddd9
5
clients/python/wcferry/client.py
vendored
5
clients/python/wcferry/client.py
vendored
@ -131,6 +131,11 @@ class Wcf():
|
||||
return
|
||||
|
||||
self.disable_recv_msg()
|
||||
|
||||
req = wcf_pb2.Request()
|
||||
req.func = wcf_pb2.FUNC_SHUTDOWN
|
||||
_ = self._send_request(req)
|
||||
|
||||
self.cmd_socket.close()
|
||||
self.msg_socket.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user