public void Stop() { if (m_Running) { m_Running = false; TimerThread.RemoveTimer(this); TimerProfile prof = GetProfile(); if (prof != null) { prof.RegStopped(); } } }
public void Stop() { if (m_Running) { m_Running = false; m_Scheduler.RemoveTimer(this); TimerProfile prof = this.GetProfile(); if (prof != null) { prof.RegStopped(); } } }