Skip rb_ec_clear_vm_stack
for now.
This commit is contained in:
parent
199310997f
commit
15c4f6aed2
7
thread.c
7
thread.c
@ -599,8 +599,11 @@ thread_cleanup_func_before_exec(void *th_ptr)
|
||||
// The thread stack doesn't exist in the forked process:
|
||||
th->ec->machine.stack_start = th->ec->machine.stack_end = NULL;
|
||||
|
||||
// The vm_stack is `alloca`ed on the thread stack, so it's gone too:
|
||||
rb_ec_clear_vm_stack(th->ec);
|
||||
// Appears to be causing a lot of issues.
|
||||
if (0) {
|
||||
// The vm_stack is `alloca`ed on the thread stack, so it's gone too:
|
||||
rb_ec_clear_vm_stack(th->ec);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user