public override void Dispose() { messageQueue?.Dispose(); database?.Dispose(); base.Dispose(); GC.SuppressFinalize(this); }
private void Dispose(bool disposing) { if (!_isDisposed) { if (disposing) { _snackbarMessageQueue.Dispose(); } _isDisposed = true; } }
public void Dispose() { _connectionCacheSubscription.Dispose(); _snackbarMessageQueue.Dispose(); }