Cannot stop with Ctrl+C

Issue #1952 has been updated by ko1 (Koichi Sasada).

Priority changed from Normal to High

I’ll fix it soon, at least before 2.0.


Feature #1952: cannot stop with Ctrl+C
https://bugs.ruby-lang.org/issues/1952#change-31631

Author: usa (Usaku NAKAMURA)
Status: Assigned
Priority: High
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0

=begin
以下のスクリプトがCtrl+Cで停止せず、Ctrl+C押下後はkill -9でしか殺せません。

Thread.new do
begin
begin
sleep
ensure
raise
end
rescue
retry
end
end.join
=end

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs