One more instance of modified method name in Mono
This commit is contained in:
parent
fc0841c60f
commit
39cefb5bd7
|
|
@ -195,7 +195,7 @@ public class ReactorNettyTcpClient<P> implements TcpOperations<P> {
|
|||
|
||||
ChannelGroupFuture close = this.channelGroup.close();
|
||||
Mono<Void> completion = FutureMono.from(close)
|
||||
.doAfterTerminate((x, e) -> {
|
||||
.doOnSuccessOrError((x, e) -> {
|
||||
// TODO: https://github.com/reactor/reactor-netty/issues/24
|
||||
shutdownGlobalResources();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue