protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (_subscription != null) { _subscription.Dispose(); } if (_connection != null) { _connection.Dispose(); } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (_connectionContext != null) { _connectionContext.Dispose(); } if (_connection != null) { _connection.Dispose(); } } }