Commit 1996af43 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-04-19 14:24:55 by simonmar]

main_thread double-linkage bug
parent 14c4df60
......@@ -1807,7 +1807,7 @@ scheduleHandleThreadFinished( StgMainThread *mainThread
mainThread->prev->link = mainThread->link;
}
if (mainThread->link != NULL) {
mainThread->link->prev = NULL;
mainThread->link->prev = mainThread->prev;
}
releaseCapability(cap);
return rtsTrue; // tells schedule() to return
......
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