Addon Manager: fix thread termination bug

This commit is contained in:
Chris Hennes
2022-08-03 01:21:45 +02:00
committed by Uwe
parent 67c24b5749
commit d1d9a17a98
+2 -2
View File
@@ -493,8 +493,8 @@ class CommandAddonManager:
thread = getattr(self, worker)
if thread:
thread.wait(25)
if not thread.isFinished():
oktoclose = False
if not thread.isFinished():
oktoclose = False
QtCore.QCoreApplication.processEvents(QtCore.QEventLoop.AllEvents)
# Write the cache data if it's safe to do so: