public void NotifyClosing() { if (_softwareCurve == null) { return; } DetachSoftwareCurve(); _softwareCurve.Dispose(); _softwareCurve = null; ControlModeChanged?.Invoke(this); Debug.WriteLine("closing"); }
private void HandleSoftwareCurveAbort(SoftwareCurve softwareCurve) { DetachSoftwareCurve(); ControlModeChanged?.Invoke(this); // until softwarecurve is started again, get value of ControlMode is Default Debug.WriteLine("softwarecurve abort!"); }