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:
parent
55eb114378
commit
3a651d66d8
@ -148,7 +148,7 @@ final class PgSqlHandle implements Handle
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
$this->free();
|
||||
$this->close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -121,7 +121,7 @@ final class PqHandle implements Handle
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
$this->free();
|
||||
$this->close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user