Пример #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!isDisposed)
     {
         isDisposed = true;
         lock (taskLocker)
         {
             using (locker.Using())
             {
                 shares.Remove(name);
                 NativeMappedFile.CloseHandle(handle);
             }
         }
     }
 }