@ Override public void remove ( ) { try { Runtime . getRuntime ( ) . removeShutdownHook ( this ) ; } catch ( IllegalStateException ex ) { LOGGER . trace ( "ignore as we are likely shutting down" , ex ) ; } }
Removes the shutdown hook .