summaryrefslogtreecommitdiff
path: root/rts/Threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Threads.c')
-rw-r--r--rts/Threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Threads.c b/rts/Threads.c
index 1c4500084c..8ee8d4f09a 100644
--- a/rts/Threads.c
+++ b/rts/Threads.c
@@ -536,6 +536,7 @@ threadStackOverflow (Capability *cap, StgTSO *tso)
} else {
// Send this thread the StackOverflow exception
throwToSingleThreaded(cap, tso, (StgClosure *)stackOverflow_closure);
+ return;
}
}