public void Dispose() { if (_core != null) { _core.Dispose(); } }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); AppCore.Dispose(); #if DEBUG if (_timer != null) { _timer.Tick -= OnTimer; _timer.IsEnabled = false; _timer = null; } #endif }
public void Stop() { _core1.Dispose(); }