Example #1
0
            public void Cleanup()
            {
                lock (pool)
                {
                    pool.Clear();
                }
#if UNITY_EDITOR
                MemoryLeakDetecter.Remove(detecter);
#endif
            }
Example #2
0
        public override void Dispose()
        {
#if UNITY_EDITOR
            MemoryLeakDetecter.Remove(detecter);
#endif
        }