[MacRuby] #176: timeout fails to raise a Timeout::Error
#176: timeout fails to raise a Timeout::Error ---------------------------------+------------------------------------------ Reporter: acangiano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ timeout should raise a Timeout::Error with message "execution expired" when the time is up. Right now it doesn't. For example, you can try the following: require 'timeout' timeout(2) do 1+1 while true end -- Ticket URL: <http://www.macruby.org/trac/ticket/176> MacRuby <http://macruby.org/>
#176: timeout fails to raise a Timeout::Error ---------------------------------+------------------------------------------ Reporter: acangiano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Description changed by martinlagardette@…: Old description:
timeout should raise a Timeout::Error with message "execution expired" when the time is up. Right now it doesn't.
For example, you can try the following:
require 'timeout'
timeout(2) do 1+1 while true end
New description: timeout should raise a Timeout::Error with message "execution expired" when the time is up. Right now it doesn't. For example, you can try the following: {{{ require 'timeout' timeout(2) do 1+1 while true end }}} -- -- Ticket URL: <http://www.macruby.org/trac/ticket/176#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby