#213: timer mapping with :on_action causing app to crash -------------------------------------+-------------------------------------- Reporter: drnicwilliams@… | Owner: rich@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Changes (by lsansonetti@…): * owner: lsansonetti@… => rich@… Old description:
The following, with :scheduled => true OR false, causes my app to either stall (scheduled => true) or drop to gdb (:scheduled => false)
{{{ @timer = timer(:interval => seconds, :scheduled => true, :repeats => false, :on_action => proc { performRefresh }) }}}
Actually, even if I pass :selector/:target instead of :on_action it drops to gdb:
{{{ @timer = timer(:interval => seconds, :scheduled => true, :repeats => false, :selector => :"fire:", :target => self) }}}
New description: The following, with :scheduled => true OR false, causes my app to either stall (scheduled => true) or drop to gdb (:scheduled => false) {{{ @timer = timer(:interval => seconds, :scheduled => true, :repeats => false, :on_action => proc { performRefresh }) }}} Actually, even if I pass :selector/:target instead of :on_action it drops to gdb: {{{ @timer = timer(:interval => seconds, :scheduled => true, :repeats => false, :selector => :"fire:", :target => self) }}} -- Comment: Assigning to Rich for screening. -- Ticket URL: <http://www.macruby.org/trac/ticket/213#comment:3> MacRuby <http://macruby.org/>