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); } }