mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
t->result now can be marked unconditionally
This commit is contained in:
@@ -113,9 +113,7 @@ mrb_task_mark_all(mrb_state *mrb)
|
||||
|
||||
/* Mark task-specific values */
|
||||
mrb_gc_mark_value(mrb, t->self);
|
||||
if (t->status == MRB_TASK_STATUS_DORMANT) {
|
||||
mrb_gc_mark_value(mrb, t->result);
|
||||
}
|
||||
mrb_gc_mark_value(mrb, t->result);
|
||||
mrb_gc_mark_value(mrb, t->name);
|
||||
|
||||
t = t->next;
|
||||
|
||||
Reference in New Issue
Block a user