Justin Coyne created JRUBY-6410:
-----------------------------------
Summary: at_exit blocks do not run when a process is terminated
via a SIGINT
Key: JRUBY-6410
URL: https://jira.codehaus.org/browse/JRUBY-6410
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6.5, JRuby 1.5.6, JRuby 1.6.6
Reporter: Justin Coyne
Assignee: Thomas E Enebo
at_exit { puts "Goodbye" }
while true do
puts "sleeping"
sleep(1);
end
Press ctrl-c after you see "sleeping" printed. I'd expect to see "Goodbye",
but I never do.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email