PBC client doesn't stop

Kresten Krab Thorup krab at trifork.com
Tue Mar 29 01:46:05 EDT 2011

Must be some non-dæmon threads in there. Threads created in the async API should call setDaemon(true), e.g. In their constructor to keep the vm from staying alive. 


On 29/03/2011, at 04.18, "Keith Dreibelbis" <kdreibel at gmail.com> wrote:

> Hi riak-users,
> I'm trying out the java protocol buffers client, and it works fine.  However, it is preventing my process from exiting.  When I used the http client from the same spot in code, the process exited, but switching to PBC caused it to hang on exit.  Usually this behavior means there is a thread being spawned that is still running in the background.  I wonder if there's a way to tell the PBC RiakClient that I'm done with it, and it can close?  I don't see anything like that in the available methods.
> Keith
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

More information about the riak-users mailing list