diff options
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start) RARRAY_LEN(args), RARRAY_PTR(args)); } else { - (*th->first_func)(th->first_func_arg); + th->value = (*th->first_func)(th->first_func_arg); } } else { |