fix calling None.close()
This commit is contained in:
committed by
INADA Naoki
parent
103a00d4ee
commit
0e01158fb8
@@ -735,10 +735,7 @@ class Connection(object):
|
||||
except Exception:
|
||||
pass
|
||||
finally:
|
||||
sock = self._sock
|
||||
self._sock = None
|
||||
self._rfile = None
|
||||
sock.close()
|
||||
self._force_close()
|
||||
|
||||
@property
|
||||
def open(self):
|
||||
|
||||
Reference in New Issue
Block a user