Permalink
Browse files

cleanup at child process exit

  • Loading branch information...
1 parent f39fe49 commit 64db7ebefd8e029f4876637e08b28acd0041ae36 @spiritloose committed Oct 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod_psgi.c
View
@@ -654,7 +654,7 @@ static int psgi_handler(request_rec *r)
static apr_status_t psgi_child_exit(void *p)
{
- if (perlinterp == NULL) {
+ if (perlinterp != NULL) {
PERL_SET_CONTEXT(perlinterp);
PL_perl_destruct_level = 1;
perl_destruct(perlinterp);

0 comments on commit 64db7eb

Please sign in to comment.