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: make StreamSubscriber ref counted (backport: 5-0-x) #17264

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Mar 7, 2019

Backport of #17221

See that PR for details.

Notes: Fix app freeze when using custom stream protocol

It is owned by URLRequestStreamJob on the IO thread once request starts,
but if the ownership was abondoned while transfering it to IO thread
which is possible when a request is aborted, then we need to make sure
its destroyed on the right thread to avoid lock in v8.
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Mar 7, 2019
@trop trop bot mentioned this pull request Mar 7, 2019
6 tasks
@trop trop bot added 5-0-x backport This is a backport PR labels Mar 7, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Mar 7, 2019
Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

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

Lets wait for appveyor before merging.

@deepak1556 deepak1556 merged commit 104ec2b into electron:5-0-x Mar 7, 2019
@release-clerk
Copy link

release-clerk bot commented Mar 7, 2019

Release Notes Persisted

Fix app freeze when using custom stream protocol

@ghost
Copy link

ghost commented Mar 27, 2019

Spent hours trying to figure out why it was happening, thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5-0-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants