mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-10 10:40:10 +01:00
fix false socket.shutdown call
This commit is contained in:
parent
60d05dc235
commit
72f4f3c8d8
|
|
@ -58,7 +58,7 @@ class TCPClient:
|
|||
@return True or False"""
|
||||
try:
|
||||
if self.isConnected:
|
||||
self._sock.shutdown()
|
||||
self._sock.shutdown(socket.SHUT_RDWR)
|
||||
self._sock.close()
|
||||
logging.debug("disconnected")
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in a new issue