diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-11-17 10:31:39 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-11-17 10:31:39 +0000 |
commit | d1d7bb00a3792187c8fe5a5ba3a481ee63552e09 (patch) | |
tree | 4cba7d066a01e0160ad3900a5b20b1b5745157bc /src/http/modules/perl/ngx_http_perl_module.c | |
parent | 889fa8debb8230bd35dfe1f67695a84661ad7daa (diff) | |
download | nginx-d1d7bb00a3792187c8fe5a5ba3a481ee63552e09.tar.gz nginx-d1d7bb00a3792187c8fe5a5ba3a481ee63552e09.zip |
add comment from r2716 commit message
Diffstat (limited to 'src/http/modules/perl/ngx_http_perl_module.c')
-rw-r--r-- | src/http/modules/perl/ngx_http_perl_module.c | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |