Addon Manager: fix thread termination bug

This commit is contained in:
Chris Hennes
2022-07-31 13:02:14 -05:00
parent a5ccef8146
commit 66f452c01b

View File

@@ -512,8 +512,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: