Exemplo n.º 1
0
        public void TrimMemory()
        {
            if (_charAllocator != null)
            {
                _charAllocator.ReleaseAllBuffers();
            }

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

            if (_intPtrAllocator != null)
            {
                _intPtrAllocator.ReleaseAllBuffers();
            }
        }
Exemplo n.º 2
0
 public void ReleaseAllBuffers()
 {
     _allocator.ReleaseAllBuffers();
 }