mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should set argc at proper position; close #1264
This commit is contained in:
@@ -169,7 +169,7 @@ fiber_resume(mrb_state *mrb, mrb_value self)
|
||||
while (b<e) {
|
||||
*b++ = *a++;
|
||||
}
|
||||
c->ci->argc = len;
|
||||
c->cibase->argc = len;
|
||||
c->prev = mrb->c;
|
||||
c->status = MRB_FIBER_RUNNING;
|
||||
mrb->c = c;
|
||||
|
||||
Reference in New Issue
Block a user