Close child info pipes when RDB save thread is done.
This commit is contained in:
parent
5f5eb0e1b0
commit
db2c3cd7e8
@ -2219,6 +2219,7 @@ void checkChildrenDone(void) {
|
||||
g_pserver->rdbThreadVars.fRdbThreadCancel = false;
|
||||
g_pserver->rdbThreadVars.fDone = false;
|
||||
if (exitcode == 0) receiveChildInfo();
|
||||
closeChildInfoPipe();
|
||||
}
|
||||
}
|
||||
else if ((pid = waitpid(-1, &statloc, WNOHANG)) != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user