summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index af998b40cf..ce57784fe9 100644
--- a/signal.c
+++ b/signal.c
@@ -529,7 +529,9 @@ sigsegv(int sig)
exit(1);
}
else {
+ extern int gc_stress;
segv_received = 1;
+ gc_stress = 0;
rb_bug("Segmentation fault");
}
}