mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
Fix thread leakage
Wait for the worker thread to finish.
This commit is contained in:
parent
ac8ec004e5
commit
8b02de8f41
1 changed files with 2 additions and 0 deletions
|
@ -182,7 +182,9 @@ class TestProfileFrames < Test::Unit::TestCase
|
||||||
assert_equal(full_labels[i], frame)
|
assert_equal(full_labels[i], frame)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
ensure
|
||||||
th.kill
|
th.kill
|
||||||
|
th.join
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue