Commit a11e0ab3 authored by olivier R-D's avatar olivier R-D

really close socket when disconnecting client

parent efa73ea6
......@@ -137,6 +137,7 @@ class UASocketClient(object):
self.logger.info("stop request")
self._do_stop = True
self._socket.socket.shutdown(socket.SHUT_WR)
self._socket.socket.close()
def send_hello(self, url):
hello = ua.Hello()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment