diff --git a/src/InfluxDB2/Client.php b/src/InfluxDB2/Client.php index 723e9ff0..2ef6b6c1 100644 --- a/src/InfluxDB2/Client.php +++ b/src/InfluxDB2/Client.php @@ -118,6 +118,7 @@ public function close() foreach ($this->autoCloseable as $ac) { $ac->close(); } + $this->autoCloseable = []; } public function getConfiguration()