public void shutdown()

in agentState-agent/src/main/java/org/jetbrains/teamcity/agentState/AgentStateListener.java [122:133]


        public void shutdown() {
            LOG.info("The update thread exit was requested");
            synchronized (myThread) {
                myIsStopRequest = true;
                myThread.notify();
            }
            try {
                myThread.join();
            } catch (InterruptedException ie) {
                LOG.warn("The thread join was interrupted");
            }
        }