public async Task DisposeAsync() { await _session.DisposeAsync(); await _client.DisposeAsync(); await _harness.DisposeAsync(); }
public async ValueTask DisposeAsync() { await _client.DisposeAsync(); if (_disposeMiniCluster) { await _miniCluster.DisposeAsync(); } }
public async Task DisposeAsync() { if (_client is not null) { await _client.DisposeAsync(); } if (_newClient is not null) { await _newClient.DisposeAsync(); } await _harness.DisposeAsync(); }