Skip to content

fix: append network switches to network service process#20546

Merged
deepak1556 merged 1 commit into
masterfrom
fix_nw_crash
Oct 14, 2019
Merged

fix: append network switches to network service process#20546
deepak1556 merged 1 commit into
masterfrom
fix_nw_crash

Conversation

@deepak1556

@deepak1556 deepak1556 commented Oct 11, 2019

Copy link
Copy Markdown
Member

Description of Change

Forward switches related to privileged schemes in network service process, otherwise will lead to service crash <-> restart infinite loop. Gets rid of the error message VALIDATION_ERROR_DESERIALIZATION_FAILED we have been seeing since the service was enabled.

Thanks to @nornagon who helped with debugging this issue.

Fixes #20517

Checklist

Release Notes

Notes: fix memory leak when using protocol.registerSchemeAsPrivileged api

@deepak1556 deepak1556 added fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases target/7-0-x labels Oct 11, 2019
@deepak1556
deepak1556 requested review from a team, nornagon and zcbenz October 11, 2019 22:49
@deepak1556
deepak1556 merged commit 5c2c301 into master Oct 14, 2019
@release-clerk

release-clerk Bot commented Oct 14, 2019

Copy link
Copy Markdown

Release Notes Persisted

fix memory leak when using protocol.registerSchemeAsPrivileged api

@trop

trop Bot commented Oct 14, 2019

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "7-0-x", please check out #20558

deepak1556 added a commit that referenced this pull request Apr 1, 2020
…2867)

* fix: ensure standard schemes are registered in nw service process

Refs #20546

* chore: add test

* chore: apply suggestions from code review

Co-Authored-By: Jeremy Apthorp <[email protected]>

Co-authored-by: Jeremy Apthorp <[email protected]>
trop Bot pushed a commit that referenced this pull request Apr 1, 2020
deepak1556 added a commit that referenced this pull request Apr 1, 2020
…2917)

* fix: ensure standard schemes are registered in nw service process

Refs #20546

* chore: add test

* chore: apply suggestions from code review

Co-Authored-By: Jeremy Apthorp <[email protected]>

Co-authored-by: deepak1556 <[email protected]>
Co-authored-by: Jeremy Apthorp <[email protected]>
sentialx pushed a commit to sentialx/electron that referenced this pull request Apr 7, 2020
…ectron#22867)

* fix: ensure standard schemes are registered in nw service process

Refs electron#20546

* chore: add test

* chore: apply suggestions from code review

Co-Authored-By: Jeremy Apthorp <[email protected]>

Co-authored-by: Jeremy Apthorp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory leak in process.registerSchemesAsPrivileged

4 participants