예제 #1
0
 internal static void Cleanup()
 {
     RefCountedCache.Clean();
     GC.Collect();
     GC.WaitForPendingFinalizers();
     GC.Collect();
 }
예제 #2
0
 internal static void Cleanup(bool disposeContext = true)
 {
     IsClosing = true;
     RefCountedCache.Clean(disposeContext);
     GC.Collect();
     GC.WaitForPendingFinalizers();
     GC.Collect();
 }