bonefish+axeld:
* the net_server leaked file descriptors for every opened session. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23987 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
12a5e9a4a2
commit
5e42a6bdd7
@ -521,6 +521,9 @@ Services::_LaunchService(struct service& service, int socket)
|
|||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
// we'll never trespass here
|
// we'll never trespass here
|
||||||
|
} else {
|
||||||
|
// the server does not need the socket anymore
|
||||||
|
close(socket);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: make sure child started successfully...
|
// TODO: make sure child started successfully...
|
||||||
|
Loading…
Reference in New Issue
Block a user