Skip to content

Commit 8203538

Browse files
committed
remove extraneous gc root in start_task
1 parent c37f371 commit 8203538

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/task.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,8 @@ NORETURN start_task()
241241
{
242242
// this runs the first time we switch to a task
243243
jl_task_t *t = jl_current_task;
244-
jl_value_t *arg = jl_task_arg_in_transit;
245244
jl_value_t *res;
246-
JL_GC_PUSH1(&arg);
247245
res = jl_apply(t->start, NULL, 0);
248-
JL_GC_POP();
249246
finish_task(t, res);
250247
abort();
251248
}

0 commit comments

Comments
 (0)