diff options
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1477,7 +1477,7 @@ rb_nogvl(void *(*func)(void *), void *data1, data2 = th; } else if (ubf && vm_living_thread_num(th->vm) == 1) { - if (RB_NOGVL_UBF_ASYNC_SAFE) { + if (flags & RB_NOGVL_UBF_ASYNC_SAFE) { th->vm->ubf_async_safe = 1; } else { |