Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of jgallred:
Previously, if a developer explicitly closed the Connection, only the *conn reference was destroyed, but the _params['pdo'] reference remained and kept the PDO connection alive. By unsetting the _params reference, we maintain only the *conn reference, exactly as if the PDO connection is generated internally.
Issue was closed with resolution "Fixed"
Comment created by @ocramius: