On Feb 26, 2008, at 13:29, David Olliges wrote:

When I look at the source, I don't see any code that tries to prevent the race condition between the IO handling code in MemcachedConnection and the shutdown() call that closes each connection. Is this a bug, or am I misreading the code?


What version is this? (if you're unsure, you can get it from ``java - jar memcached.jar'')

shutdown isn't expected to be a very common operation, and does report an exception (it'd be a lot of work and reduce safety to try to swallow the specific cancellation that occurs). There shouldn't be an NPE in there, though.

--
Dustin Sallings

Reply via email to