# Cannot stop with Ctrl+C

**URL:** <https://www.ruby-forum.com/t/cannot-stop-with-ctrl-c/224741>\
**Category:** Development\
**Created:** [November 24, 2012, 1:37am UTC](https://www.ruby-forum.com/t/cannot-stop-with-ctrl-c/224741 "2012-11-24T01:37:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [November 24, 2012, 1:37am UTC](https://www.ruby-forum.com/t/cannot-stop-with-ctrl-c/224741/1 "2012-11-24T01:37:20Z")

</div>

Issue #1952 has been updated by mame (Yusuke E.).

ささださん、現状を教えてください。

## – Yusuke E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Feature #1952: cannot stop with Ctrl+C

> **[Feature #1952: cannot stop with Ctrl+C - Ruby master - Ruby Issue Tracking...](https://bugs.ruby-lang.org/issues/1952#change-33689)**
>
> Redmine

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
