mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix thread leak, fixes #2598
This commit is contained in:
parent
76e823a8b1
commit
d62ee8f999
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ module Sidekiq
|
||||||
# get handle to the underlying thread performing work for a processor
|
# get handle to the underlying thread performing work for a processor
|
||||||
# so we have it call us and tell us.
|
# so we have it call us and tell us.
|
||||||
def real_thread(proxy_id, thr)
|
def real_thread(proxy_id, thr)
|
||||||
@threads[proxy_id] = thr
|
@threads[proxy_id] = thr if thr.alive?
|
||||||
end
|
end
|
||||||
|
|
||||||
PROCTITLES = [
|
PROCTITLES = [
|
||||||
|
|
Loading…
Reference in a new issue