Example #1
0
 public void LowMemory(LowMemorySeverity lowMemorySeverity)
 {
     InLowMemoryMode.Raise();
     if (lowMemorySeverity != LowMemorySeverity.ExtremelyLow)
     {
         return;
     }
     // can't call clear, etc, just forget the whole thing, so GC will clean
     CacheByReader = new();
 }
Example #2
0
 public void LowMemoryOver()
 {
     InLowMemoryMode.Lower();
 }