From a97458f07c06ae5470b61da15f31df5b15e99b43 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Wed, 14 Feb 2018 21:22:16 +0100
Subject: [PATCH] Declared missing shutdown logic as unproblematic.
The only thing a shutdown logic would do is to clean up the very resources the OS cleans up anyway when interrupting the process. So I just don't see the point in the complexity of a signal handler (and SetConsoleCtrlHandler on Windows).
---
server/main.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/server/main.cpp b/server/main.cpp
index f7710e6..3bcd36d 100644
--- a/server/main.cpp
+++ b/server/main.cpp
@@ -263,7 +263,6 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
}
-// TODO: Add server shutdown
while (1)
{
unsigned char auReadBuf[256];