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

@@ -70,6 +70,7 @@ public class Core {
sj.add("asys.api");
sj.add("org.slf4j;version=1.7.21");
sj.add("org.slf4j.helpers;version=1.7.21");
sj.add("org.slf4j.spi;version=1.7.21");
return sj.toString();
}

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() {