diff options
Diffstat (limited to 'rts/Task.c')
-rw-r--r-- | rts/Task.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Task.c b/rts/Task.c index e2f363b321..9707251ca3 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -292,6 +292,7 @@ discardTasksExcept (Task *keep) } } all_tasks = keep; + keep->all_link = NULL; RELEASE_LOCK(&sched_mutex); } |