Skip to content

fix: memory leak in desktopCapturer.getSources#27506

Merged
zcbenz merged 1 commit into9-x-yfrom
miniak/fix-getsources-leak-9-x-y
Jan 27, 2021
Merged

fix: memory leak in desktopCapturer.getSources#27506
zcbenz merged 1 commit into9-x-yfrom
miniak/fix-getsources-leak-9-x-y

Conversation

@miniak
Copy link
Copy Markdown
Contributor

@miniak miniak commented Jan 27, 2021

Backport of #27031

See that PR for details.

Notes: Fixed a memory leak in desktopCapturer.getSources.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jan 27, 2021
@trop trop Bot added 9-x-y semver/patch backwards-compatible bug fixes labels Jan 27, 2021
}
// Remove from currentlyRunning once we resolve or reject
currentlyRunning = currentlyRunning.filter(running => running.options !== options);
event.sender.removeListener('destroyed', stopRunning);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

event cannot be null in this branch, compared to master

@zcbenz zcbenz merged commit 39bea9a into 9-x-y Jan 27, 2021
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Jan 27, 2021

Release Notes Persisted

Fixed a memory leak in desktopCapturer.getSources.

@zcbenz zcbenz deleted the miniak/fix-getsources-leak-9-x-y branch January 27, 2021 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9-x-y new-pr 🌱 PR opened recently semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants