fix bug in tcprelay:server socket closed but not set to empty, will got error in _handle_events()
This commit is contained in:
parent
d95e5ce680
commit
59566ca7d2
1 changed files with 1 additions and 0 deletions
|
@ -709,3 +709,4 @@ class TCPRelay(object):
|
|||
self._closed = True
|
||||
if not next_tick:
|
||||
self._server_socket.close()
|
||||
self._server_socket = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue