Problem shutting down client - hangs on releaseExternalResources

Bo Hu fcinter at gmail.com
Mon Aug 23 02:25:26 EDT 2010


You're trying to call releaseExternalResources in channelClosed() of your
handler. It's a deadlock to me.

On Sun, Aug 22, 2010 at 3:58 AM, Jonas Bonér <jonas at jonasboner.com> wrote:

> Hi.
>
> I have problem shutting down a Netty client.
> I am following the shutdown instructions I think.
>
> I do:
> openChannels.close.awaitUninterruptibly
> bootstrap.releaseExternalResources
>
> and it hangs indefinitely on releaseExternalResources.
>
> Here is a link to the code:
>
> http://github.com/jboner/akka/blob/master/akka-core/src/main/scala/remote/RemoteClient.scala#L230
>
> Appreciate any help since this is a showstopper for Akka.
>
> Thank you.
>
> Ps. I love Netty. Awesome piece of software. Ds.
>
> --
> Jonas Bonér
>
> work: http://akkasource.org
> code: http://github.com/jboner
> blog:  http://jonasboner.com
> twtr:  @jboner
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20100823/5471750c/attachment.html 


More information about the netty-users mailing list