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);
task->cap = NULL;
task->stopped = rtsTrue;
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