#213: timer mapping with :on_action causing app to crash
-------------------------------------+--------------------------------------
Reporter: drnicwilli...@… | Owner: r...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Changes (by lsansone...@…):
* owner: lsansone...@… => r...@…
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel