summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index 82ca1170fb..8fd4580ab2 100644
--- a/thread.c
+++ b/thread.c
@@ -1686,12 +1686,12 @@ rb_thread_s_async_interrupt_timing(VALUE self, VALUE mask_arg)
RUBY_VM_SET_INTERRUPT(th);
}
+ RUBY_VM_CHECK_INTS(th);
+
if (state) {
JUMP_TAG(state);
}
- RUBY_VM_CHECK_INTS(th);
-
return r;
}