repositioned Logger for server shutdown

This commit is contained in:
Hanno Fleischer
2024-12-16 12:14:09 +01:00
parent 0d3e93b681
commit ccf77f052f

View File

@@ -103,11 +103,10 @@ public void shutdownServer() {
// Wait for the server to shut down // Wait for the server to shut down
try { try {
serverThread.join(); // Wait for the server thread to finish serverThread.join(); // Wait for the server thread to finish
System.out.println("Server shutdown successfully.");
} catch (InterruptedException e) { } catch (InterruptedException e) {
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
} }
System.out.println("Server shutdown successfully.");
} }
/** /**