We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177754a commit 35725b2Copy full SHA for 35725b2
java/server/src/org/openqa/selenium/netty/server/NettyServer.java
@@ -107,14 +107,15 @@ public URL getUrl() {
107
@Override
108
public void stop() {
109
try {
110
+ bossGroup.shutdownGracefully().sync();
111
+ workerGroup.shutdownGracefully().sync();
112
+
113
channel.closeFuture().sync();
114
} catch (InterruptedException e) {
115
Thread.currentThread().interrupt();
116
throw new UncheckedIOException(new IOException("Shutdown interrupted", e));
117
} finally {
118
channel = null;
- bossGroup.shutdownGracefully();
- workerGroup.shutdownGracefully();
119
}
120
121
0 commit comments