/// <summary> /// Releases unmanaged and - optionally - managed resources. /// </summary> /// <param name="disposing"> /// <c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources. /// </param> protected void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { _gremlinClient.Dispose(); } disposedValue = true; } }
public void Dispose() { _client?.Dispose(); _remote?.Dispose(); }
/// <inheritdoc /> public void Dispose() { _client?.Dispose(); }
public void Dispose() { _baseClient.Dispose(); }