protected void Release(AbstractPersistentStorage storage)
 {
     lock (_primaryStorageAccessLock)
     {
         if (storage.ReleaseRefUnsafe())
         {
             storage.Close();
         }
     }
 }
Exemple #2
0
 private void Release(AbstractPersistentStorage storage)
 {
     lock (_lookupAccessLock)
     {
         if (storage.ReleaseRefUnsafe())
         {
             _lookup.Remove(storage.SolutionFilePath);
             storage.Close();
         }
     }
 }