#832: “Thread.abort_on_exception = true” does not raise the exception in the 
main
thread.
-------------------------------------+--------------------------------------
 Reporter:  eloy.de.en...@…          |       Owner:  lsansone...@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:                       
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 {{{
 % ruby19 -e 'Thread.abort_on_exception = true; Thread.new { foo }; sleep
 1; p :ok'
 -e:1:in `block in <main>': undefined local variable or method `foo' for
 main:Object (NameError)

 % macruby -e 'Thread.abort_on_exception = true; Thread.new { foo }; sleep
 1; p :ok'
 :ok
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/832>
MacRuby <http://macruby.org/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to