Ticket #1008: continuationmarkfix.patch

File continuationmarkfix.patch, 0.7 KB (added by jessevdam, 5 years ago)

unchecked fix for faulty mark in continuation.pmc

  • src/pmc/continuation.pmc

    ### Eclipse Workspace Patch 1.0
    #P ispobjecttest
     
    130130        /* If Continuation wasn't fully constructed yet */ 
    131131        if (!cc) 
    132132            return; 
    133  
     133        /* seg is not a pobj, so i removed this, but we still have to check we 
     134         * dont have a memory leak 
    134135        if (cc->seg) 
    135136            Parrot_gc_mark_PObj_alive(interp, (PObj *)cc->seg); 
     137        */ 
    136138        if (cc->to_ctx) 
    137139            Parrot_gc_mark_PObj_alive(INTERP, (PObj *) cc->to_ctx); 
    138140        if (cc->from_ctx)