Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil.
This commit is contained in:
parent
8d2b51b46a
commit
b6751dcff2
|
@ -66,6 +66,7 @@ class LoopbackHttpServerThread(threading.Thread):
|
|||
self._stop_server = True
|
||||
|
||||
self.join()
|
||||
self.httpd.server_close()
|
||||
|
||||
def run(self):
|
||||
self.ready.set()
|
||||
|
|
Loading…
Reference in New Issue