public void StopClock() { Enabled = false; StopEvents.ForEach(e => EventHelper.Instance.RunEvent(e)); StopEvents.RemoveAll(s => s != null); _tickDisposable.Dispose(); }
public void StopClock() { Enabled = false; StopEvents.ForEach(e => { EventHelper.Instance.RunEvent(e); }); StopEvents.RemoveAll(s => s != null); }