Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Remove a reference to the PDO object from the metaData property
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbudny authored and sebastianbergmann committed Dec 23, 2017
1 parent 3fc157a commit 53f55b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/DefaultConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(PDO $connection, $schema = '')
*/
public function close()
{
unset($this->connection);
unset($this->connection, $this->metaData);
}

/**
Expand Down

0 comments on commit 53f55b6

Please sign in to comment.