internal void Shutdown() { allChannels.Close().AwaitUninterruptibly(); tcpServer.ReleaseExternalResources(); udpServer.ReleaseExternalResources(); }
public virtual void Close() { allChannels.Close().AwaitUninterruptibly(); bossGroup.ShutdownGracefully(); workerGroup.ShutdownGracefully(); }