mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
nghttpx: Fix crash without mruby script
This commit is contained in:
@@ -101,6 +101,9 @@ int MRubyContext::run_on_response_proc(Downstream *downstream) {
|
||||
}
|
||||
|
||||
void MRubyContext::delete_downstream(Downstream *downstream) {
|
||||
if (!mrb_) {
|
||||
return;
|
||||
}
|
||||
delete_downstream_from_module(mrb_, downstream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user