예제 #1
0
 private static void UnlockTracking()
 {
     if (!MemoryTracker.trackedLocked)
     {
         throw new NotImplementedException();
     }
     MemoryTracker.trackedLocked = false;
     foreach (object current in MemoryTracker.trackedQueue)
     {
         MemoryTracker.RegisterObject(current);
     }
     MemoryTracker.trackedQueue.Clear();
     foreach (RuntimeTypeHandle current2 in MemoryTracker.trackedTypeQueue)
     {
         MemoryTracker.RegisterType(current2);
     }
     MemoryTracker.trackedTypeQueue.Clear();
 }