Explicitly close the server socket.

This commit is contained in:
Martin v. Löwis 2006-01-29 19:55:18 +00:00
parent cfc4a8dae7
commit f684888b1e
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ class LogRecordSocketReceiver(ThreadingTCPServer):
abort = self.abort
#notify the main thread that we're about to exit
socketDataProcessed.set()
# close the listen socket
self.server_close()
def process_request(self, request, client_address):
#import threading