Commit 92a0f4e0 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added __del__() to GMS_Logger.

parent bef2778b
......@@ -133,6 +133,9 @@ class GMS_logger(logging.Logger):
ObjDict = self.__dict__
return ObjDict
def __del__(self):
self.close()
@property
def captured_stream(self):
if not self._captured_stream:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment