Removed a TODO

This commit is contained in:
PaulCombal 2019-07-31 14:42:13 +02:00
parent a8493ab5e0
commit 1dad479715
2 changed files with 1 additions and 2 deletions

View File

@ -32,7 +32,6 @@ GameServerManager::quick_server_create(AppId_t appid)
}
else {
// Parent process
// TODO watch out for zombie processes
// TODO: don't use signal; use sigaction
signal(SIGCHLD, SIG_IGN);
signal(SIGINT, handle_sigint_gameserv);

View File

@ -77,7 +77,7 @@ MyServerSocket::run_server()
if (quit)
{
std::cout << "shutting down" << request << std:: endl;
std::cout << "Shutting down server safely." << std:: endl;
send_message(data_socket, "SAM_ACK");
close(data_socket);
close(m_socket_fd);