Skip to content

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Feb 1, 2023

Q A
Type bug
Fixed issues Follows #5880

Summary

Found while merging up. We usually close a connection by unsetting the driver. Currently, that would keep the a pgsql connection open but inaccessible until the PHP process terminates. With this PR, I'm explicitly closing the connection when the driver connection is destructed.

@derrabus derrabus force-pushed the bugfix/destruct-pgsql-connection branch from ea6def2 to e9a1e41 Compare February 2, 2023 22:27
@derrabus derrabus force-pushed the bugfix/destruct-pgsql-connection branch from e9a1e41 to 9c2a1bb Compare February 2, 2023 22:29
@derrabus derrabus merged commit 11683d1 into doctrine:3.6.x Feb 3, 2023
@derrabus derrabus deleted the bugfix/destruct-pgsql-connection branch February 3, 2023 12:00
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants