Esempio n. 1
0
        public static void Reclaim <K, V>(ref KeyValueList <K, V> target, bool isSetNull = true, bool isDisposeItems = false)
        {
            if (target == null)
            {
                return;
            }

            target.Dispose(isDisposeItems);

            if (isSetNull)
            {
                target = null;
            }
        }
Esempio n. 2
0
 public void Dispose()
 {
     mIndexer?.Dispose();
     mMapper?.Dispose();
 }