Problem shutting down client - hangs on releaseExternalResources

Jonas Bonér lists at jonasboner.com
Mon Aug 23 08:22:08 EDT 2010


On 23 August 2010 08:25, Bo Hu <fcinter at gmail.com> wrote:

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

Ah, of course. Stupid me. Thanks a lot.


>
> 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
>>
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>



-- 
Jonas Bonér

work:   http://jayway.com
code:   http://akkasource.com
blog:    http://jonasboner.com
twitter: @jboner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20100823/a21ebdd9/attachment.html 


More information about the netty-users mailing list