Spaces:
Runtime error
Runtime error
Marked the logger as a daemon thread so it doesn't prevent the exit of the python interpreter
Browse files- src/architectures.py +1 -0
src/architectures.py
CHANGED
@@ -269,6 +269,7 @@ class LogWorker(Thread):
|
|
269 |
# Instantiate and run worker on import
|
270 |
if LogWorker.instance is None:
|
271 |
LogWorker.instance = LogWorker()
|
|
|
272 |
LogWorker.instance.start()
|
273 |
|
274 |
|
|
|
269 |
# Instantiate and run worker on import
|
270 |
if LogWorker.instance is None:
|
271 |
LogWorker.instance = LogWorker()
|
272 |
+
LogWorker.daemon = True
|
273 |
LogWorker.instance.start()
|
274 |
|
275 |
|