summaryrefslogtreecommitdiff
path: root/spec/ruby/fixtures/basicobject/method_missing.rb
diff options
context:
space:
mode:
authorAndrew Haines <andrew@haines.org.nz>2021-07-15 11:36:46 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-07-27 09:25:55 +0900
commit705b1bdef2caf1bee052384b3c62c201f4fa5479 (patch)
tree49528530f5ffaa4a3d354aed7f3a5acd808ba353 /spec/ruby/fixtures/basicobject/method_missing.rb
parentc8172d0b96aa91b421e77ca0bedc3f12ad8c5fdc (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/fixtures/basicobject/method_missing.rb')
0 files changed, 0 insertions, 0 deletions