/// <summary> /// 释放相关资源 /// </summary> public void Dispose() { if (_locator != null) { _locator.Dispose(); } if (_recognize != null) { _recognize.Dispose(); } }
/// <summary> /// 释放相关资源 /// </summary> public void Dispose() { _locator?.Dispose(); _recognize?.Dispose(); }