nghttpx: Fix crash without mruby script
This commit is contained in:
parent
21e1af2ae7
commit
b4709b9e8c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue