summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index 844adfc684..3cb49cc0f5 100644
--- a/signal.c
+++ b/signal.c
@@ -33,6 +33,7 @@ static struct signals {
char *signm;
int signo;
} siglist [] = {
+ {"EXIT", 0},
#ifdef SIGHUP
{"HUP", SIGHUP},
#endif
@@ -592,7 +593,7 @@ sigexit(sig)
}
#endif
- rb_exit(0);
+ rb_thread_signal_exit();
}
static VALUE