diff --git a/src/corelibs/logging_handling/log.py b/src/corelibs/logging_handling/log.py index c23a6ee..da9e403 100644 --- a/src/corelibs/logging_handling/log.py +++ b/src/corelibs/logging_handling/log.py @@ -283,8 +283,10 @@ class LogParent: return False return True - def _cleanup(self): - """cleanup for any open queues in case we have an abort""" + def cleanup(self): + """ + cleanup for any open queues in case we have an abort + """ if not self.log_queue: return self.flush() @@ -659,7 +661,6 @@ class Log(LogParent): if self.listener is not None: self.flush() self.listener.stop() - self._cleanup() # MARK: init main log def __init_log(self, log_name: str) -> None: