diff options
| author | Andrew Haines <andrew@haines.org.nz> | 2021-07-15 11:36:46 +0100 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-07-27 09:25:55 +0900 |
| commit | 705b1bdef2caf1bee052384b3c62c201f4fa5479 (patch) | |
| tree | 49528530f5ffaa4a3d354aed7f3a5acd808ba353 /spec/ruby/core/basicobject | |
| parent | c8172d0b96aa91b421e77ca0bedc3f12ad8c5fdc (diff) | |
[rubygems/rubygems] Fix interrupt handling in Bundler workers
The existing interrupt handling using `SharedHelpers.trap` fails when the previous
handler for a signal is not callable (for example, when it is the string "DEFAULT").
Instead, we now handle interrupts by aborting the process when worker threads are
running, and restore the previous handler after worker threads are finished.
Fixes #4764.
https://github.com/rubygems/rubygems/commit/b9f455d487
Diffstat (limited to 'spec/ruby/core/basicobject')
0 files changed, 0 insertions, 0 deletions
