diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1262,7 +1262,8 @@ io_fflush(rb_io_t *fptr) } VALUE -rb_io_wait(VALUE io, VALUE events, VALUE timeout) { +rb_io_wait(VALUE io, VALUE events, VALUE timeout) +{ VALUE scheduler = rb_thread_current_scheduler(); if (scheduler != Qnil) { |