Commit d5b20065 authored by Simon Marlow's avatar Simon Marlow
Browse files

workerTaskStop(): set task->cap = NULL

avoids an assertion failure in newBoundTask()
parent 760e1a82
......@@ -258,6 +258,7 @@ workerTaskStop (Task *task)
ASSERT(myTask() == task);
#endif
task->cap = NULL;
taskTimeStamp(task);
task->stopped = rtsTrue;
tasksRunning--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment