Merged revisions 86019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86019 | brian.curtin | 2010-10-30 23:40:53 -0500 (Sat, 30 Oct 2010) | 2 lines Fix a ResourceWarning for an unclosed socket. ........
This commit is contained in:
parent
c89b734d32
commit
e27731d0bf
|
@ -866,6 +866,7 @@ def listen(port=DEFAULT_LOGGING_CONFIG_PORT):
|
|||
logging._acquireLock()
|
||||
abort = self.abort
|
||||
logging._releaseLock()
|
||||
self.socket.close()
|
||||
|
||||
class Server(threading.Thread):
|
||||
|
||||
|
|
Loading…
Reference in New Issue