Exemple #1
0
        public void Stop()
        {
            if (m_Running)
            {
                m_Running = false;
                TimerThread.RemoveTimer(this);

                TimerProfile prof = GetProfile();

                if (prof != null)
                {
                    prof.RegStopped();
                }
            }
        }
Exemple #2
0
        public void Stop()
        {
            if (m_Running)
            {
                m_Running = false;

                m_Scheduler.RemoveTimer(this);

                TimerProfile prof = this.GetProfile();

                if (prof != null)
                {
                    prof.RegStopped();
                }
            }
        }