calling of releaseExternalResources

Marc-André Laverdière marcandre.laverdiere at gmail.com
Fri Jun 3 01:51:42 EDT 2011


Well, it could 'hang' your JVM and it wouldn't terminate... so that's
not a very good option.

On 6/3/11, magiceye <magiceye at 163.com> wrote:
> ChannelFactory has a method of releaseExternalResources. If a ChannelFactory
> object exist in whole application life, I mean the calling of
> releaseExternalResources only when JVM exit. So it is hard to call
> releaseExternalResources because java has no destructor.
> In this situation, not call releaseExternalResources is ok? (Aslo I don't
> care the connected channels on server, because the server shut down is
> compelling, like a game server)
>
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/calling-of-releaseExternalResources-tp6434029p6434029.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>


-- 
Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and complete,
not lacking anything." -James 1:4
http://asimplediscipleslife.blogspot.com/
mlaverd.theunixplace.com



More information about the netty-users mailing list