protected virtual void DisposeManagedResources() { if (_model != null) { _model.Dispose(); _model.Cleanup(); _model = null; } }
protected virtual void DisposeManagedResources() { if (_model != null) { _model.Dispose(); _model.Cleanup(); _model = null; } Dispatcher.ShutdownStarted -= Dispatcher_ShutdownStarted; }