private void OnDisable() { if (_parallelCor != null) { _parallelCor.Stop(); } }
public void Dispose() { if (_parallelCor != null) { _parallelCor.Stop(); _parallelCor = null; } }