Skip to content

Commit

Permalink
Fix a bug that could result in orphaned sessions if a browser just na…
Browse files Browse the repository at this point in the history
…vigated

away from the page and never returned.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@23 0da03de8-d603-11dd-86c2-0f8696b7b6f9
  • Loading branch information
zodiac committed Jan 1, 2009
1 parent 35aa1a7 commit 60d6d84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shellinabox/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ static void launcherDaemon(int fd) {
if (NOINTR(sendmsg(fd, &msg, 0)) != sizeof(pid)) {
break;
}
NOINTR(close(pty));
}
}
deleteHashMap(childProcesses);
Expand Down

0 comments on commit 60d6d84

Please sign in to comment.