Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Oct 9, 2023
1 parent 4708dc9 commit 1981c44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/superqt/utils/_qthreading.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ def work(self):
worker.moveToThread(thread)
thread.started.connect(worker.work)
worker.finished.connect(thread.quit)
thread.finished.connect(worker.deleteLater)
thread.finished.connect(thread.deleteLater)

if _connect:
Expand Down

0 comments on commit 1981c44

Please sign in to comment.