Fix a bug that could result in orphaned sessions if a browser just navigated

away from the page and never returned.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@23 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
zodiac 2009-01-01 18:17:44 +00:00
parent 35aa1a7881
commit 60d6d8433a

View file

@ -987,6 +987,7 @@ static void launcherDaemon(int fd) {
if (NOINTR(sendmsg(fd, &msg, 0)) != sizeof(pid)) {
break;
}
NOINTR(close(pty));
}
}
deleteHashMap(childProcesses);