Tell python that we're done with this dictionary

This commit is contained in:
Pedro Algarvio 2017-04-07 12:27:37 +01:00
parent 50629ac1d4
commit 2c6725d96e
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -168,6 +168,7 @@ class SocketServerRequestHandler(socketserver.StreamRequestHandler):
record = logging.makeLogRecord(record_dict)
logger = logging.getLogger(record.name)
logger.handle(record)
del record_dict
except (EOFError, KeyboardInterrupt, SystemExit):
break
except socket.error as exc: