Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeShutdownHook (0.16 sec)

  1. maven-jline/src/main/java/org/apache/maven/jline/MessageUtils.java

            }
        }
    
        public static void systemUninstall() {
            doSystemUninstall();
            if (shutdownHook != null) {
                try {
                    Runtime.getRuntime().removeShutdownHook(shutdownHook);
                } catch (IllegalStateException var3) {
                    // ignore
                }
            }
        }
    
        private static void doSystemUninstall() {
            try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 13:48:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java

            } finally {
                lock.unlock();
            }
        }
    
        private void setEndStateInfo(ExecHandleState newState, int exitValue, Throwable failureCause) {
            ShutdownHooks.removeShutdownHook(shutdownHookAction);
            buildCancellationToken.removeCallback(shutdownHookAction);
            ExecHandleState currentState;
            lock.lock();
            try {
                currentState = this.state;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top