diff --git a/clients/python/wcferry/client.py b/clients/python/wcferry/client.py index 33ed0ac..01e2ebc 100644 --- a/clients/python/wcferry/client.py +++ b/clients/python/wcferry/client.py @@ -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()