diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-11-03 09:32:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-11-03 09:32:32 +0900 |
commit | 8b02de8f41296d1a2449ecaeb24726f088ce899c (patch) | |
tree | e624bf1030bf783a42c139adb25d7417bea6992b /test/-ext- | |
parent | ac8ec004e5272d589caca30616dbe12862150188 (diff) |
Fix thread leakage
Wait for the worker thread to finish.
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/debug/test_profile_frames.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/-ext-/debug/test_profile_frames.rb b/test/-ext-/debug/test_profile_frames.rb index e66413c228..b44b14d851 100644 --- a/test/-ext-/debug/test_profile_frames.rb +++ b/test/-ext-/debug/test_profile_frames.rb @@ -182,7 +182,9 @@ class TestProfileFrames < Test::Unit::TestCase assert_equal(full_labels[i], frame) end + ensure th.kill + th.join end |