repositioned Logger for server shutdown
This commit is contained in:
@@ -103,11 +103,10 @@ public void shutdownServer() {
|
||||
// Wait for the server to shut down
|
||||
try {
|
||||
serverThread.join(); // Wait for the server thread to finish
|
||||
System.out.println("Server shutdown successfully.");
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
|
||||
System.out.println("Server shutdown successfully.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user