aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 878464186e..ed8d429ef8 100644
--- a/thread.c
+++ b/thread.c
@@ -386,6 +386,7 @@ rb_thread_terminate_all(void)
PUSH_TAG();
if (EXEC_TAG() == 0) {
native_sleep(th, 0);
+ RUBY_VM_CHECK_INTS_BLOCKING(th);
}
else {
/* ignore exception */