Add missing calls to childGroup().shutdownGraceFully()
Motivation: The ServerBootrap's child group would not be shutdown. Modification: Add missing shutdownGracefully() call. Result: The child group is shutdown correctly.
This commit is contained in:
parent
d022ac1016
commit
3dba1ef8dd
@ -117,6 +117,7 @@ public class DelegatingHttp2HttpConnectionHandlerTest {
|
|||||||
public void teardown() throws Exception {
|
public void teardown() throws Exception {
|
||||||
serverChannel.close().sync();
|
serverChannel.close().sync();
|
||||||
sb.group().shutdownGracefully();
|
sb.group().shutdownGracefully();
|
||||||
|
sb.childGroup().shutdownGracefully();
|
||||||
cb.group().shutdownGracefully();
|
cb.group().shutdownGracefully();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,6 +120,7 @@ public class Http2ConnectionRoundtripTest {
|
|||||||
public void teardown() throws Exception {
|
public void teardown() throws Exception {
|
||||||
serverChannel.close().sync();
|
serverChannel.close().sync();
|
||||||
sb.group().shutdownGracefully();
|
sb.group().shutdownGracefully();
|
||||||
|
sb.childGroup().shutdownGracefully();
|
||||||
cb.group().shutdownGracefully();
|
cb.group().shutdownGracefully();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,6 +109,7 @@ public class Http2FrameRoundtripTest {
|
|||||||
public void teardown() throws Exception {
|
public void teardown() throws Exception {
|
||||||
serverChannel.close().sync();
|
serverChannel.close().sync();
|
||||||
sb.group().shutdownGracefully();
|
sb.group().shutdownGracefully();
|
||||||
|
sb.childGroup().shutdownGracefully();
|
||||||
cb.group().shutdownGracefully();
|
cb.group().shutdownGracefully();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,6 +144,7 @@ public class InboundHttp2ToHttpAdapterTest {
|
|||||||
public void teardown() throws Exception {
|
public void teardown() throws Exception {
|
||||||
serverChannel.close().sync();
|
serverChannel.close().sync();
|
||||||
sb.group().shutdownGracefully();
|
sb.group().shutdownGracefully();
|
||||||
|
sb.childGroup().shutdownGracefully();
|
||||||
cb.group().shutdownGracefully();
|
cb.group().shutdownGracefully();
|
||||||
clientDelegator = null;
|
clientDelegator = null;
|
||||||
serverDelegator = null;
|
serverDelegator = null;
|
||||||
|
@ -103,6 +103,7 @@ public class JettySslEngineTest {
|
|||||||
if (serverChannel != null) {
|
if (serverChannel != null) {
|
||||||
serverChannel.close().sync();
|
serverChannel.close().sync();
|
||||||
sb.group().shutdownGracefully();
|
sb.group().shutdownGracefully();
|
||||||
|
sb.childGroup().shutdownGracefully();
|
||||||
cb.group().shutdownGracefully();
|
cb.group().shutdownGracefully();
|
||||||
}
|
}
|
||||||
clientChannel = null;
|
clientChannel = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user