Archived
0

fix: небольшие исправления

This commit is contained in:
2017-04-27 06:41:54 +03:00
parent 85947ae25d
commit d1850e80e0
2 changed files with 2 additions and 5 deletions

View File

@@ -29,11 +29,7 @@ public class Server {
workerGroup = new NioEventLoopGroup();
ServerBootstrap serverBootstrap = createServerBootstrap();
try {
serverBootstrap.bind(host, port).sync().channel().closeFuture().sync();
} catch (InterruptedException e) {
shutdown();
}
serverBootstrap.bind(host, port);
}
public void shutdown() {