Don't set saved_ec.tag to NULL in cont_init()

This commit is contained in:
刘皓 2025-03-27 01:45:20 -04:00 committed by Yuta Saito
parent 3a730be8b4
commit 372515f33c
Notes: git 2025-03-31 02:59:50 +00:00

1
cont.c
View File

@ -1369,7 +1369,6 @@ cont_init(rb_context_t *cont, rb_thread_t *th)
/* save thread context */
cont_save_thread(cont, th);
cont->saved_ec.thread_ptr = th;
cont->saved_ec.tag = NULL;
cont->saved_ec.local_storage = NULL;
cont->saved_ec.local_storage_recursive_hash = Qnil;
cont->saved_ec.local_storage_recursive_hash_for_trace = Qnil;