From: Igor Sysoev Date: Tue, 17 Nov 2009 10:31:39 +0000 (+0000) Subject: add comment from r2716 commit message X-Git-Tag: release-0.8.27~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=d1d7bb00a3792187c8fe5a5ba3a481ee63552e09;p=nginx.git add comment from r2716 commit message --- diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c index eb6407e21..9cdd17551 100644 --- a/src/http/modules/perl/ngx_http_perl_module.c +++ b/src/http/modules/perl/ngx_http_perl_module.c @@ -1063,9 +1063,15 @@ ngx_http_perl_exit(ngx_cycle_t *cycle) { #if (NGX_HAVE_PERL_MULTIPLICITY) + /* + * the master exit hook is run before global pool cleanup, + * therefore just set flag here + */ + ngx_perl_term = 1; #else + if (nginx_stash) { ngx_log_debug0(NGX_LOG_DEBUG_HTTP, cycle->log, 0, "perl term");