mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-31 07:10:45 +00:00
Ends threads before quitting application
This fixes this warning: QThread: Destroyed while thread is still running
This commit is contained in:
@@ -82,7 +82,7 @@ class Consumer(QThread):
|
||||
self.active = True
|
||||
while self.active:
|
||||
try:
|
||||
job = self.queue.get()
|
||||
job = self.queue.get(timeout=0.2)
|
||||
# print('Running job...')
|
||||
# logging.info(*job[1])
|
||||
job[0](*job[1])
|
||||
|
||||
Reference in New Issue
Block a user