Skip to content

fix: clean up base::LinkedList in context_bridge::ObjectCache - #27638

Merged
MarshallOfSound merged 1 commit into
11-x-yfrom
trop/11-x-y-bp-fix-clean-up-base-linkedlist-in-context_bridge-objectcache-1612557575649
Feb 5, 2021
Merged

MarshallOfSound merged 1 commit into
11-x-yfrom
trop/11-x-y-bp-fix-clean-up-base-linkedlist-in-context_bridge-objectcache-1612557575649

Conversation

@trop

@trop trop Bot commented Feb 5, 2021

Copy link
Copy Markdown
Contributor

Backport of #27630

See that PR for details.

Notes: Fixed memory leak when sending non-primitives over the context bridge

base::LinkedList does not delete its members on destruction. We need to
manually ensure the linkedlist is empty when the ObjectCache is
destroyed.

Fixes #27039

Notes: Fixed memory leak when sending non-primitives over the context
bridge
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Feb 5, 2021
@trop
trop Bot requested a review from MarshallOfSound February 5, 2021 20:39
@trop trop Bot added 11-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Feb 5, 2021
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Feb 5, 2021
@MarshallOfSound
MarshallOfSound merged commit 0933c67 into 11-x-y Feb 5, 2021
@release-clerk

release-clerk Bot commented Feb 5, 2021

Copy link
Copy Markdown

Release Notes Persisted

Fixed memory leak when sending non-primitives over the context bridge

@trop
trop Bot deleted the trop/11-x-y-bp-fix-clean-up-base-linkedlist-in-context_bridge-objectcache-1612557575649 branch February 5, 2021 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

11-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant