Lua debugger: call wait3() if there are pending forked debugging sessions.

This commit is contained in:
antirez
2015-11-14 22:13:32 +01:00
parent 01636435fa
commit 333547dab6
3 changed files with 10 additions and 1 deletions

View File

@ -1186,7 +1186,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
}
/* Check if a background saving or AOF rewrite in progress terminated. */
if (server.rdb_child_pid != -1 || server.aof_child_pid != -1) {
if (server.rdb_child_pid != -1 || server.aof_child_pid != -1 ||
ldbPendingChildren())
{
int statloc;
pid_t pid;