Пример #1
0
        public void TrimMemory()
        {
            if (_charAllocator != null)
            {
                _charAllocator.ReleaseAllBuffers();
            }

            if (_intAllocator != null)
            {
                _intAllocator.ReleaseAllBuffers();
            }

            if (_intPtrAllocator != null)
            {
                _intPtrAllocator.ReleaseAllBuffers();
            }
        }
Пример #2
0
 public void ReleaseAllBuffers()
 {
     _allocator.ReleaseAllBuffers();
 }