alfraser commited on
Commit
d5cf91c
·
1 Parent(s): 30696ca

Marked the logger as a daemon thread so it doesn't prevent the exit of the python interpreter

Browse files
Files changed (1) hide show
  1. 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