Hello,
I am using commons-launcher in my application, but I need to add a shutdown
hook to release my resources. I add a shutdow hook like this:
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
shutdown();
}
});
but in a ctrl-c, it does not seem to be called. Does anybody knows how to
add a shutdown hook if I am using commons-launcher in my application?
Thank you for your time.
--Eduardo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]