1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-30 04:29:12 +01:00

Call close on destruct

This commit is contained in:
Aaron Piotrowski 2020-02-13 11:59:23 -06:00
parent 55eb114378
commit 3a651d66d8
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ final class PgSqlHandle implements Handle
*/
public function __destruct()
{
$this->free();
$this->close();
}
/**

View File

@ -121,7 +121,7 @@ final class PqHandle implements Handle
*/
public function __destruct()
{
$this->free();
$this->close();
}
/**