Right way to shutdown in case of error

float_dublin Kostya.Hvan at gmail.com
Tue Sep 15 03:19:01 EDT 2009


Thanks for explanation.


Trustin Lee wrote:
> 
> Regardless if you use ChannelGroup or not, you must call
> ChannelFactory.releaseExternalResources() from outside ChannelHandler.
> 
> As Mike mentioned, you have to close all channels before calling
> ChannelFactory.releaseExternalResources(), but it's not absolutely
> necessary to use ChannelGroup.  ChannelGroup eases managing many
> Channels though.
> 
> HTH,
> Trustin
> 
> — Trustin Lee, http://gleamynode.net/
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Right-way-to-shutdown-in-case-of-error-tp3637599p3647293.html
Sent from the Netty User Group mailing list archive at Nabble.com.



More information about the netty-users mailing list