fix typo in Server#stop (#2093)

This commit is contained in:
Maxim Breitman 2024-04-11 23:25:50 +03:00 committed by GitHub
parent f1a4882572
commit 7daf8d69b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,7 +120,7 @@ public final class Server {
this.selector.wakeup();
this.selector.close();
} catch (IOException e) {
LOGGER.error("Server socket sector could not be closed", e);
LOGGER.error("Server socket selector could not be closed", e);
System.exit(-1);
}
this.workers.forEach(Worker::close);