diff options
Diffstat (limited to 'rts')
-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 038e86137d..0ec60f7508 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -258,6 +258,7 @@ workerTaskStop (Task *task) ASSERT(myTask() == task); #endif + task->cap = NULL; taskTimeStamp(task); task->stopped = rtsTrue; tasksRunning--; |