killme2008 / xmemcached

High performance, easy to use multithreaded memcached client in java.
http://fnil.net/xmemcached
Apache License 2.0
757 stars 280 forks source link

Shutdownhook in AbstractController can not be disabled #57

Closed mseidel closed 7 years ago

mseidel commented 7 years ago

So, you can disable the shutdownhook in XMemcachedClient, but there is still the one in AbstractController which is not configurable and will always fire, closing the underlying sessions of the client and causing Exceptions if you try to use it during shutdown. I think it should use the same "xmemcached.shutdown.hook.enable" property as the client.

killme2008 commented 7 years ago

Thanks for your report, AbstractController should respect xmemcached.shutdown.hook.enable, i will fix it ASAP.