diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-06-05 20:52:07 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-06-19 20:39:10 +1200 |
commit | 4b3b781c66c48604a013557172540effd929f96a (patch) | |
tree | 2baeae988491fe9ae896c8aff1cbc812e3d05d76 /vm.c | |
parent | 38791145ebc6890b97ea55ee490084c63b67f3cc (diff) |
Ensure execution context is cleared after thread is finished.
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -2704,9 +2704,6 @@ th_init(rb_thread_t *th, VALUE self) 0 /* dummy cref/me */, 0 /* dummy pc */, th->ec->vm_stack, 0, 0 ); - } else { - th->ec->cfp = NULL; - rb_ec_set_vm_stack(th->ec, NULL, 0); } th->status = THREAD_RUNNABLE; |