Permalink
Browse files

Remove a reference to the PDO object from the metaData property

  • Loading branch information...
1 parent 3fc157a commit 53f55b68a8dc1a735e4d3dc070e4588d90ea03fa @piotrbudny piotrbudny committed with Dec 23, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/DefaultConnection.php
@@ -51,7 +51,7 @@ public function __construct(PDO $connection, $schema = '')
*/
public function close()
{
- unset($this->connection);
+ unset($this->connection, $this->metaData);
}
/**

0 comments on commit 53f55b6

Please sign in to comment.