DBAL-928: [GH-623] Prevent Connection from maintaining a second reference to an injected PDO object. #2170

doctrinebot opened this Issue Jun 25, 2014 · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of jgallred:

Url: #623


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:

Merged: cf35f19

@Ocramius Ocramius was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment