Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

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

Url: #623

Message:

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.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @ocramius:

Merged: cf35f19

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.