Wait for sleepr thread to finish not to leak
This commit is contained in:
parent
c1fb25f6fc
commit
5dd969892f
@ -39,7 +39,7 @@ class TestFiberThread < Test::Unit::TestCase
|
|||||||
|
|
||||||
assert_predicate sleeper, :alive?
|
assert_predicate sleeper, :alive?
|
||||||
ensure
|
ensure
|
||||||
sleeper&.kill
|
sleeper&.kill&.join
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_thread_join_implicit
|
def test_thread_join_implicit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user