Skip to content

Commit

Permalink
fix: UnboundLocalError (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Jun 18, 2023
1 parent 66d05ca commit f44a44a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dank_mids/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def _worker(executor_reference, work_queue, initializer, initargs, timeout): #
# Let the executor know we have one less idle thread available
executor._idle_semaphore.acquire(blocking=False) # NOTE: NEW
return # NOTE: NEW
continue

if work_item is not None:
work_item.run()
Expand Down

0 comments on commit f44a44a

Please sign in to comment.