예제 #1
0
 public void Free()
 {
     _editDistance?.Dispose();
     _source               = null;
     _editDistance         = null;
     _lastAreSimilarResult = default(CacheResult);
     s_pool.Push(this);
 }
예제 #2
0
 public void Free()
 {
     _editDistance?.Dispose();
     _source               = null;
     _editDistance         = null;
     _lastAreSimilarResult = default;
     lock (s_poolGate) {
         s_pool.Push(this);
     }
 }
예제 #3
0
 public void Dispose()
 {
     _editDistance?.Dispose();
     _editDistance = null;
 }