[MacRuby-devel] [MacRuby] #790: Exception is not generated when calls Thread.stop with only one thread.
MacRuby
ruby-noreply at macosforge.org
Tue Jul 13 20:27:07 PDT 2010
#790: Exception is not generated when calls Thread.stop with only one thread.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
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/>
More information about the MacRuby-devel
mailing list