Ticket #176 (new defect)
timeout fails to raise a Timeout::Error
| Reported by: | acangiano@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | major | Milestone: | MacRuby 1.0 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description (last modified by martinlagardette@…) (diff)
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
Change History
Note: See
TracTickets for help on using
tickets.

