Browse Source

Don't fclose the log file on cleanup in case we still send mesages to the log file. The OS will close it on shutdown anyway.

master
ckolivas 11 years ago
parent
commit
61e8c46ee5
  1. 1
      src/ckpool.c

1
src/ckpool.c

@ -662,7 +662,6 @@ static void clean_up(ckpool_t *ckp)
for (i = 0; i < children; i++) for (i = 0; i < children; i++)
dealloc(ckp->children[i]); dealloc(ckp->children[i]);
dealloc(ckp->children); dealloc(ckp->children);
fclose(ckp->logfp);
} }
static void __shutdown_children(ckpool_t *ckp, int sig) static void __shutdown_children(ckpool_t *ckp, int sig)

Loading…
Cancel
Save