The InfluxDBClient should dispose all child clients (api) when InfluxDBClient.Dispose is invoked.
The first dispose should be useles:
_influxDbClient = InfluxDBClientFactory.Create(MockServerUrl, "token".ToCharArray());
_writeApi = _influxDbClient.GetWriteApi();
_writeApi.WriteRecord("my-bycjet", "my-org", WritePrecision.Ns, "h2o_feet,location=coyote_creek level\\ description=\"feet 1\",water_level=1.0 1");
_writeApi.Dispose();
_influxDbClient.Dispose();
The
InfluxDBClientshould dispose all child clients (api) whenInfluxDBClient.Disposeis invoked.The first
disposeshould be useles: