Commit 9fb30cbc authored by Edward Z. Yang's avatar Edward Z. Yang

Do not copy stack after stack overflow, fixes #8435

Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <ezyang@mit.edu>
parent 6c122f9c
......@@ -536,6 +536,7 @@ threadStackOverflow (Capability *cap, StgTSO *tso)
} else {
// Send this thread the StackOverflow exception
throwToSingleThreaded(cap, tso, (StgClosure *)stackOverflow_closure);
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