src/main/java/org/funz/calculator/plugin/DefaultCodeLauncher.java
public void executionOver(int exitCode) throws Exception {
        if (tunnel != null) {
            tunnel.stop();
        }
        if (_progressSender != null) {
            _progressSender.askToStop();
            _progressSender.join();
        }
        if (shutdown != null && !shutdown.isAlive()) {
            try {
                Runtime.getRuntime().removeShutdownHook(shutdown);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
/**
     * Called each time the execution is over.
     *
     * @param int exitCode return status.
     */
Called each time the execution is over.
@param int exitCode return status.
Called each time the execution is over . @param int exitCode return status .
public void executionOver(int exitCode) throws Exception {
        if (tunnel != null) {
            tunnel.stop();
        }
        if (_progressSender != null) {
            _progressSender.askToStop();
            _progressSender.join();
        }
        if (shutdown != null && !shutdown.isAlive()) {
            try {
                Runtime.getRuntime().removeShutdownHook(shutdown);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
public void executionOver ( int exitCode ) throws Exception { if ( tunnel != null ) { tunnel . stop ( ) ; } if ( _progressSender != null ) { _progressSender . askToStop ( ) ; _progressSender . join ( ) ; } if ( shutdown != null && ! shutdown . isAlive ( ) ) { try { Runtime . getRuntime ( ) . removeShutdownHook ( shutdown ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } } }
Called each time the execution is over.
Called each time the execution is over .