disable the auto close of the log queue

This causes problems with logger clean up
This commit is contained in:
Clemens Schwaighofer
2025-08-05 16:20:13 +09:00
parent 6090995eba
commit bc23006a34

View File

@@ -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: