public void Clear() { _reusableBitmaps.Clear(); // Force immediate Garbage collection. Please note that is resource intensive. GC.Collect(); GC.WaitForPendingFinalizers(); GC.WaitForPendingFinalizers(); GC.Collect(); }
public void Clear() { _reusableBitmaps.Clear(); GC.Collect(); }