[MacRuby] #1003: Copied Proc objects cause crash when used as Objective-C blocks

MacRuby ruby-noreply at macosforge.org
Mon Nov 29 18:48:37 PST 2010


#1003: Copied Proc objects cause crash when used as Objective-C blocks
----------------------------------+-----------------------------------------
 Reporter:  al_skipp@…            |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 The problem here is that the Proc is prematurely garbage-collected. It
 must be retained during the live cycle of the block.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1003#comment:5>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list