diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-12 11:01:23 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-12 11:01:23 +0900 |
| commit | 4e84bdb507885bd37b4b0fa6b6359ac8c8b7b886 (patch) | |
| tree | 9dabc26422c0dc570fbaea3f81d0fde71f1e1f42 /mrbgems/mruby-bin-mirb/tools | |
| parent | 0fb05eb55f881b3508584cb3b199bddd37dc8825 (diff) | |
| download | mruby-4e84bdb507885bd37b4b0fa6b6359ac8c8b7b886.tar.gz mruby-4e84bdb507885bd37b4b0fa6b6359ac8c8b7b886.zip | |
Let 'mrb_vm_run()` to restore the calling fiber; ref #3537
Diffstat (limited to 'mrbgems/mruby-bin-mirb/tools')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index deabd591c..d633a09b2 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -551,8 +551,6 @@ done: mrb_top_self(mrb), stack_keep); stack_keep = proc->body.irep->nlocals; - /* restore to fiber */ - mrb->c = mrb->root_c; /* did an exception occur? */ if (mrb->exc) { p(mrb, mrb_obj_value(mrb->exc), 0); |
