public void Free() { _editDistance?.Dispose(); _source = null; _editDistance = null; _lastAreSimilarResult = default(CacheResult); s_pool.Push(this); }
public void Free() { _editDistance?.Dispose(); _source = null; _editDistance = null; _lastAreSimilarResult = default; lock (s_poolGate) { s_pool.Push(this); } }
public void Dispose() { _editDistance?.Dispose(); _editDistance = null; }