diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8450,7 +8450,6 @@ rb_thread_schedule() rb_thread_t curr; int found = 0; - if (ruby_in_compile) abort(); fd_set readfds; fd_set writefds; fd_set exceptfds; @@ -8460,6 +8459,8 @@ rb_thread_schedule() int need_select = 0; int select_timeout = 0; + if (ruby_in_compile) abort(); + rb_thread_pending = 0; if (curr_thread == curr_thread->next && curr_thread->status == THREAD_RUNNABLE) |