Hi,

Why do you call System.exit() _within_ the shutdown hook? That's a bad
idea, don't do it. The following test program doesn't exit on my
machine:

public class Test {
    public static void main(String... args) throws Exception {
        Runtime.getRuntime().addShutdownHook(new Thread() {
            public void run() {
                System.exit(0);
            }
        });
    }
}

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to