Skip to content

Commit

Permalink
Merge pull request #681 from tadast/tt/typo
Browse files Browse the repository at this point in the history
Fix thread shutdown logic
  • Loading branch information
yannickwurm committed Sep 18, 2023
2 parents 1c7670a + ce6987e commit 462be12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequenceserver/pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def queue(*args, &block)

def shutdown
@size.times do
schedule { throw :exit }
queue { throw :exit }
end
@pool.map(&:join)
end
Expand Down

0 comments on commit 462be12

Please sign in to comment.