Forum: Ruby-dev cannot stop with Ctrl+C

Posted by ko1 (Koichi Sasada) (Guest)
on 2012-10-26 21:54
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.