Fix thread leakage
Wait for the worker thread to finish.
This commit is contained in:
parent
ac8ec004e5
commit
8b02de8f41
@ -182,7 +182,9 @@ class TestProfileFrames < Test::Unit::TestCase
|
||||
assert_equal(full_labels[i], frame)
|
||||
end
|
||||
|
||||
ensure
|
||||
th.kill
|
||||
th.join
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user