Assertions should not have side effects
This commit is contained in:
parent
01ff65af32
commit
e1889dd7de
Notes:
git
2024-09-29 09:45:11 +00:00
@ -2360,7 +2360,8 @@ rb_threadptr_sched_free(rb_thread_t *th)
|
||||
}
|
||||
|
||||
ruby_xfree(th->sched.context);
|
||||
VM_ASSERT((th->sched.context = NULL) == NULL);
|
||||
th->sched.context = NULL;
|
||||
// VM_ASSERT(th->sched.context == NULL);
|
||||
#else
|
||||
ruby_xfree(th->sched.context_stack);
|
||||
native_thread_destroy(th->nt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user