[MacRuby-devel] [MacRuby] #213: timer mapping with :on_action causing app to crash

MacRuby ruby-noreply at macosforge.org
Tue Jan 20 16:55:13 PST 2009


#213: timer mapping with :on_action causing app to crash
-------------------------------------+--------------------------------------
 Reporter:  drnicwilliams@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  major                    |   Milestone:                       
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 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)
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/213>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list