public void Free() { if (_owner != null) { if (_handle.IsAllocated) { _handle.Free(); } _owner.Release(); _owner = null; } }
public void Dispose() { _owner.Release(_id); _owner = null; }
internal DisposableReservation(IKnown owner, long id) { _id = id; _owner = owner; _owner.AddReference(_id); }