should restore proc after rescue; close #1891

parent de65d4e2
......@@ -1387,7 +1387,8 @@ RETRY_TRY_BLOCK:
}
}
L_RESCUE:
irep = ci->proc->body.irep;
proc = ci->proc;
irep = proc->body.irep;
pool = irep->pool;
syms = irep->syms;
regs = mrb->c->stack = ci[1].stackent;
......
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