We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d959f01 commit f60c754Copy full SHA for f60c754
1 file changed
src/ngx_pagespeed.cc
@@ -3079,7 +3079,9 @@ void ps_exit_child_process(ngx_cycle_t* cycle) {
3079
ps_main_conf_t* cfg_m = static_cast<ps_main_conf_t*>(
3080
ngx_http_cycle_get_module_main_conf(cycle, ngx_pagespeed));
3081
NgxBaseFetch::Terminate();
3082
- cfg_m->driver_factory->ShutDown();
+ if (cfg_m->driver_factory != NULL) {
3083
+ cfg_m->driver_factory->ShutDown();
3084
+ }
3085
}
3086
3087
// Called when nginx forks worker processes. No threads should be started
0 commit comments