Skip to content

Commit

Permalink
Addon Manager: fix thread termination bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes committed Jul 31, 2022
1 parent 8bb85d2 commit 0865b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/AddonManager/AddonManager.py
Expand Up @@ -512,8 +512,8 @@ def reject(self) -> None:
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:
Expand Down

0 comments on commit 0865b97

Please sign in to comment.