diff options
| author | Lars Kanis <lars@greiz-reinsdorf.de> | 2022-09-25 11:14:11 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2022-09-28 01:59:35 +0900 |
| commit | 9d56d9975d867c94ab2a6d76e4482112ab6c3319 (patch) | |
| tree | ecf30a93083f46d0f4efae0db32b6429314ac29f /spec/ruby/core/basicobject | |
| parent | 1a06bc94d96ab4be4386b0ccd802d11380fa4e84 (diff) | |
[ruby/timeout] Explicit add the timeout thread to default ThreadGroup
Otherwise the timeout thread would be added to the ThreadGroup of the thread that makes the first call to Timeout.timeout .
Fixes bug 19020: https://bugs.ruby-lang.org/issues/19020
Add a test case to make sure the common thread doesn't leak to another ThreadGroup
https://github.com/ruby/timeout/commit/c4f1385c9a
Diffstat (limited to 'spec/ruby/core/basicobject')
0 files changed, 0 insertions, 0 deletions
