Raymond Feng wrote:
Maybe we can use java.lang.Runtime.addShutdownHook(Thread) to perform the cleanup.Thanks, Raymond
It doesn't work for me, the shutdown thread is either not invoked or terminated before it gets a chance to clean up (tried ctrl-C and Linux kill).
-- Jean-Sebastien
