Skip to content

Commit

Permalink
nghttpx: mrb_run was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Sep 2, 2020
1 parent b00fa55 commit 7df73a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shrpx_mruby.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace {
mrb_value instantiate_app(mrb_state *mrb, RProc *proc) {
mrb->ud = nullptr;

auto res = mrb_run(mrb, proc, mrb_top_self(mrb));
auto res = mrb_top_run(mrb, proc, mrb_top_self(mrb), 0);

if (mrb->exc) {
auto exc = mrb_obj_value(mrb->exc);
Expand Down

0 comments on commit 7df73a5

Please sign in to comment.