예제 #1
0
        /// <summary>
        /// Disposes of this container and deallocates its memory immediately.
        /// </summary>
        public void Dispose()
        {
#if ENABLE_UNITY_COLLECTIONS_CHECKS
            DisposeSentinel.Dispose(ref m_Safety, ref m_DisposeSentinel);
#endif
            NativeQueueData.DeallocateQueue(m_Buffer, m_QueuePool, m_AllocatorLabel);
            m_Buffer = null;
        }
예제 #2
0
 public void Dispose()
 {
     NativeQueueData.DeallocateQueue(m_Buffer, m_QueuePool, m_AllocatorLabel);
 }
예제 #3
0
 void Deallocate()
 {
     NativeQueueData.DeallocateQueue(m_Buffer, m_QueuePool, m_AllocatorLabel);
     m_Buffer = null;
 }