From 7df73a5d9055dcb2fd744973a3295d3b619ffad7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 2 Sep 2020 22:12:45 +0900 Subject: [PATCH] nghttpx: mrb_run was removed --- src/shrpx_mruby.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_mruby.cc b/src/shrpx_mruby.cc index 15466c06..5f7c42ad 100644 --- a/src/shrpx_mruby.cc +++ b/src/shrpx_mruby.cc @@ -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);