Need to update `ci` after `callinfo` stack reallocation; fix #3796

parent c0822498
...@@ -1959,8 +1959,8 @@ RETRY_TRY_BLOCK: ...@@ -1959,8 +1959,8 @@ RETRY_TRY_BLOCK:
mrb->c = c->prev; mrb->c = c->prev;
c->prev = NULL; c->prev = NULL;
ci = mrb->c->ci;
} }
ci = mrb->c->ci;
if (ci->acc < 0) { if (ci->acc < 0) {
mrb_gc_arena_restore(mrb, ai); mrb_gc_arena_restore(mrb, ai);
mrb->c->vmexec = FALSE; mrb->c->vmexec = FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment