feat(python): shutdown rpc on cleanup
This commit is contained in:
1 parent
c5bc97b0bc
commit
36e1bbddd9
1 file changed
+5
Vendored
+5
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user