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

fix: ensure MessagePorts get GCed when not referenced #40189

Merged
merged 1 commit into from Oct 13, 2023

Conversation

codebytere
Copy link
Member

Description of Change

Closes #40041.
Refs CL:4919476

Closes an issue where MessagePorts were not being correctly GCed when not referenced.

Checklist

Release Notes

Notes: Fixed an issue where MessagePorts were not being correctly garbage collected when not referenced.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/28-x-y PR should also be added to the "28-x-y" branch. labels Oct 12, 2023
@codebytere codebytere requested a review from a team as a code owner October 12, 2023 09:57
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 12, 2023
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 13, 2023
@codebytere codebytere merged commit bbd2236 into main Oct 13, 2023
18 checks passed
@codebytere codebytere deleted the close-messageport-issue branch October 13, 2023 20:09
@release-clerk
Copy link

release-clerk bot commented Oct 13, 2023

Release Notes Persisted

Fixed an issue where MessagePorts were not being correctly garbage collected when not referenced.

@trop
Copy link
Contributor

trop bot commented Oct 13, 2023

I have automatically backported this PR to "28-x-y", please check out #40201

@trop trop bot added in-flight/28-x-y merged/28-x-y PR was merged to the "28-x-y" branch. and removed target/28-x-y PR should also be added to the "28-x-y" branch. in-flight/28-x-y labels Oct 13, 2023
felixrieseberg pushed a commit to felixrieseberg/electron that referenced this pull request Oct 25, 2023
MrHuangJser pushed a commit to MrHuangJser/electron that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/28-x-y PR was merged to the "28-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Message ports don't close after garbage collection
2 participants