diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | thread.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Oct 17 08:02:57 2012 Koichi Sasada <ko1@atdot.net> + + * thread.c (rb_threadptr_interrupt_mask): fix to check interrupt + after interrupt_mask changed. + Wed Oct 17 06:42:47 2012 Koichi Sasada <ko1@atdot.net> * vm_insnhelper.c (vm_call_method): fix to return value immediately. @@ -1508,6 +1508,8 @@ rb_threadptr_interrupt_mask(rb_thread_t *th, VALUE mask, VALUE (*func)(rb_thread JUMP_TAG(state); } + RUBY_VM_CHECK_INTS(th); + return r; } |