예제 #1
0
파일: WmKcdBroker.cs 프로젝트: tmbx/kwm-ng
        /// <summary>
        /// This method is called to stop the KCD broker. It returns true when
        /// the broker has stopped.
        /// </summary>
        public bool TryStop()
        {
            if (m_thread != null)
            {
                m_thread.RequestCancellation();
                return(false);
            }

            // Clean up the data structures.
            CleanUp();

            return(true);
        }