예제 #1
0
        public void Dispose()
        {
            if (_disposed)
            {
                return;
            }
            _disposed = true;

            _cursor.Dispose();
            OnDisposal?.Invoke(this);
        }
예제 #2
0
        public void Dispose()
        {
            _disposed = true;
            _prevScopeDispose.Dispose();

            if (RequiredPrefix.HasValue)
            {
                RequiredPrefix.Release(_tx.Allocator);
            }

            OnDisposal?.Invoke(this);
        }
예제 #3
0
 public void Dispose()
 {
     if (_disposed)
     {
         return;
     }
     _disposed = true;
     if (RequiredPrefix.HasValue)
     {
         RequiredPrefix.Release(_tx.Allocator);
     }
     if (MaxKey.HasValue)
     {
         MaxKey.Release(_tx.Allocator);
     }
     _prevKeyScope.Dispose();
     _cursor.Dispose();
     OnDisposal?.Invoke(this);
 }
예제 #4
0
 public void Dispose()
 {
     _disposed = true;
     _prevScopeDispose.Dispose();
     OnDisposal?.Invoke(this);
 }
 private void Remove(FlashMessageDecorator p)
 {
     OnDisposal?.Invoke(this, this);
 }
예제 #6
0
        public void Dispose()
        {
            _disposed = true;

            OnDisposal?.Invoke(this);
        }