summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index e4506c2374..d68fead92e 100644
--- a/thread.c
+++ b/thread.c
@@ -565,6 +565,7 @@ thread_create_core(VALUE thval, VALUE args, VALUE (*fn)(ANYARGS))
th->async_errinfo_queue = rb_ary_tmp_new(0);
th->async_errinfo_queue_checked = 0;
th->async_errinfo_mask_stack = rb_ary_dup(current_th->async_errinfo_mask_stack);
+ RBASIC(th->async_errinfo_mask_stack)->klass = 0;
native_mutex_initialize(&th->interrupt_lock);
if (GET_VM()->event_hooks != NULL)