mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 23:09:23 +01:00
Revert "Irc: only disconnect the write portion of the socket"
This reverts commit f4babc6f28
.
This commit is contained in:
parent
1bd6149ee2
commit
06d49f4433
@ -390,7 +390,7 @@ class Irc(utils.DeprecatedAttributesObject):
|
||||
|
||||
try:
|
||||
log.debug('(%s) disconnect: Shutting down socket.', self.name)
|
||||
self.socket.shutdown(socket.SHUT_WR)
|
||||
self.socket.shutdown(socket.SHUT_RDWR)
|
||||
except Exception as e: # Socket timed out during creation; ignore
|
||||
log.debug('(%s) error on socket shutdown: %s: %s', self.name, type(e).__name__, e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user