Skip to content

Commit

Permalink
Fix _QThreadWorker.run not releasing references to fulfilled command …
Browse files Browse the repository at this point in the history
…object before blocking on next queue.get call
  • Loading branch information
kormax committed Mar 8, 2024
1 parent a6eb8e5 commit 2252042
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qasync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ def run(self):
else:
self._logger.debug("Future was canceled")

# Delete references
del command, future, callback, args, kwargs

self._logger.debug("Thread #%s stopped", self.__num)

def wait(self):
Expand Down

0 comments on commit 2252042

Please sign in to comment.