nghttpx: mrb_run was removed

This commit is contained in:
Tatsuhiro Tsujikawa 2020-09-02 22:12:45 +09:00
parent b00fa5567c
commit 7df73a5d90
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ namespace {
mrb_value instantiate_app(mrb_state *mrb, RProc *proc) { mrb_value instantiate_app(mrb_state *mrb, RProc *proc) {
mrb->ud = nullptr; 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) { if (mrb->exc) {
auto exc = mrb_obj_value(mrb->exc); auto exc = mrb_obj_value(mrb->exc);