Skip to content

Commit

Permalink
Fix missing GC mark of deserializer contexts list
Browse files Browse the repository at this point in the history
This was the root cause of rakudo/rakudo#1660
  • Loading branch information
jnthn committed Mar 30, 2018
1 parent df4c94c commit ce38e35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/6model/reprs/SCRef.c
Expand Up @@ -79,6 +79,8 @@ static void gc_mark(MVMThreadContext *tc, MVMSTable *st, void *data, MVMGCWorkli
MVM_gc_worklist_add(tc, worklist, &(sc->sr->root.string_comp_unit));
MVM_gc_worklist_add(tc, worklist, &(sc->sr->codes_list));
MVM_gc_worklist_add(tc, worklist, &(sc->sr->current_object));
for (i = 0; i < sc->sr->root.num_contexts; i++)
MVM_gc_worklist_add(tc, worklist, &(sc->sr->contexts[i]));
}
}

Expand Down

0 comments on commit ce38e35

Please sign in to comment.