/// <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; }
public void Dispose() { NativeQueueData.DeallocateQueue(m_Buffer, m_QueuePool, m_AllocatorLabel); }
void Deallocate() { NativeQueueData.DeallocateQueue(m_Buffer, m_QueuePool, m_AllocatorLabel); m_Buffer = null; }