Commit b4709b9e authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix crash without mruby script

parent 21e1af2a
...@@ -101,6 +101,9 @@ int MRubyContext::run_on_response_proc(Downstream *downstream) { ...@@ -101,6 +101,9 @@ int MRubyContext::run_on_response_proc(Downstream *downstream) {
} }
void MRubyContext::delete_downstream(Downstream *downstream) { void MRubyContext::delete_downstream(Downstream *downstream) {
if (!mrb_) {
return;
}
delete_downstream_from_module(mrb_, downstream); delete_downstream_from_module(mrb_, downstream);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment