kerby-kdc/src/main/java/org/apache/kerby/kerberos/kdc/impl/NettyKdcServerImpl.java [80:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void doStop() throws Exception {
        super.doStop();

        if (network != null) {
            network.stop();
        }

        if (executor != null) {
            executor.shutdown();

            try {
                boolean terminated = false;
                do {
                    // wait until the pool has terminated
                    terminated = executor.awaitTermination(60, TimeUnit.SECONDS);
                } while (!terminated);
            } catch (InterruptedException e) {
                executor.shutdownNow();
                LOG.warn("waitForTermination interrupted");
            }
        }
        LOG.info("Netty kdc server stopped.");
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/impl/DefaultInternalKdcServerImpl.java [80:103]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void doStop() throws Exception {
        super.doStop();

        if (network != null) {
            network.stop();
        }

        if (executor != null) {
            executor.shutdown();

            try {
                boolean terminated = false;
                do {
                    // wait until the pool has terminated
                    terminated = executor.awaitTermination(60, TimeUnit.SECONDS);
                } while (!terminated);
            } catch (InterruptedException e) {
                executor.shutdownNow();
                LOG.warn("waitForTermination interrupted");
            }
        }

        LOG.info("Default Internal kdc server stopped.");
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



