fix: add destructor in InfluxDbService

This commit is contained in:
Maël Gangloff 2025-10-07 19:35:30 +02:00
parent 492e77420f
commit 3308dd35c4
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -90,4 +90,9 @@ readonly class InfluxdbService
// TODO: Add a retry mechanism if writing fails
}
}
protected function __destruct()
{
$this->client->close();
}
}