#790: Exception is not generated when calls Thread.stop with only one thread.
----------------------------------+-----------------------------------------
 Reporter:  watson1...@…          |       Owner:  lsansone...@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Result of Ruby 1.9.1:
 {{{
 $ irb
 irb(main):001:0> Thread.stop
 ThreadError: stopping only thread
         note: use sleep to stop forever
         from (irb):1:in `stop'
         from (irb):1
         from /opt/local/bin/irb:12:in `<main>'
 }}}

 Result of MacRuby Trunk:
 {{{
 $ macirb
 irb(main):001:0> Thread.stop
 ^C
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/790>
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