Permalink
Browse files

Fix mrb->jmp

  • Loading branch information...
1 parent 5adf386 commit 3ad25e1ebfc73e126aa9d3f7a1a0bc323c650d55 @matsumotory committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod_mruby.c
View
@@ -1044,9 +1044,9 @@ static int ap_mruby_run(mrb_state *mrb, request_rec *r, mruby_config_t *conf, co
if (!setjmp(mod_mruby_jmp)) {
mrb->jmp = &mod_mruby_jmp;
mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_top_self(mrb));
- } else {
- mrb->jmp = 0;
}
+
+ mrb->jmp = 0;
mrb_gc_arena_restore(mrb, ai);
if (mrb->exc)

0 comments on commit 3ad25e1

Please sign in to comment.