Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VarDumper] Keep a ref to objects to ensure their handle cannot be reused while cloning #30350

Merged
merged 1 commit into from Feb 23, 2019

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Fixes the root issue that led to #30311 (comment)

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Feb 22, 2019
@nicolas-grekas nicolas-grekas changed the title [VarDumper] Keep a ref to discovered objects to prevent their destruction [VarDumper] Keep a ref to objects to ensure their handle cannot be reused while cloning Feb 22, 2019
@fabpot
Copy link
Member

fabpot commented Feb 23, 2019

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 29a0683 into symfony:3.4 Feb 23, 2019
fabpot added a commit that referenced this pull request Feb 23, 2019
…annot be reused while cloning (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[VarDumper] Keep a ref to objects to ensure their handle cannot be reused while cloning

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Fixes the root issue that led to #30311 (comment)

Commits
-------

29a0683 [VarDumper] Keep a ref to objects to ensure their handle cannot be reused while cloning
@nicolas-grekas nicolas-grekas deleted the vd-fixrefcount branch February 27, 2019 13:51
This was referenced Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants