FutureReleaseMemory() public static method

public static FutureReleaseMemory ( FutureHandle futureHandle ) : void
futureHandle FutureHandle
return void
コード例 #1
0
        protected override void ReleaseMemory()
        {
            var handle = m_handle;

            //REVIEW: there is a possibility of a race condition with Dispose() that could potentially call FutureDestroy(handle) at the same time (not verified)
            if (handle != null && !handle.IsClosed && !handle.IsInvalid)
            {
                FdbNative.FutureReleaseMemory(handle);
            }
        }