diff options
Diffstat (limited to 'thread_win32.c')
-rw-r--r-- | thread_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c index 7680a226e3..ba40d7fe75 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -103,7 +103,7 @@ w32_wait_events(HANDLE *events, int count, DWORD timeout, rb_thread_t *th) events, count, timeout, th); if (th && (intr = th->native_thread_data.interrupt_event)) { w32_reset_event(intr); - if (th->interrupt_flag) { + if (RUBY_VM_INTERRUPTED(th)) { w32_set_event(intr); } |