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: quit after Chromium is fully started #21488

Merged
merged 3 commits into from
Dec 13, 2019
Merged

fix: quit after Chromium is fully started #21488

merged 3 commits into from
Dec 13, 2019

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Dec 12, 2019

Description of Change

Flush pending tasks before quitting Electron.

This is to fix crash on exit which happens when Electron quits while there are still some initialization work pending in message loop.

This should be able to fix some flaky tests on CI.

This does not completely fix the flaky tests that destroy WebContents, which I believe have other reasons for crashing.

Release Notes

Notes: no-notes

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Dec 12, 2019
@zcbenz zcbenz changed the title [WIP] fix: should not crash on exit when quit early fix: should not crash on exit when quit early [WIP] Dec 12, 2019
@zcbenz zcbenz added the wip ⚒ label Dec 12, 2019
@zcbenz zcbenz changed the title fix: should not crash on exit when quit early [WIP] fix: quit after Chromium is fully started [WIP] Dec 12, 2019
@zcbenz zcbenz changed the title fix: quit after Chromium is fully started [WIP] fix: quit after Chromium is fully started Dec 12, 2019
@zcbenz zcbenz marked this pull request as ready for review December 12, 2019 11:33
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Dec 13, 2019
@zcbenz
Copy link
Member Author

zcbenz commented Dec 13, 2019

The electron-woa-testing is failing for clipboard tests, I'm confident it is not related to changes here since just a while ago this branch was green, and there are other PRs (#21501) also affected by the same failures.

@zcbenz zcbenz merged commit f9a1dc1 into master Dec 13, 2019
@release-clerk
Copy link

release-clerk bot commented Dec 13, 2019

No Release Notes

@trop
Copy link
Contributor

trop bot commented Dec 13, 2019

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

@trop trop bot removed the target/7-1-x label Dec 13, 2019
@trop
Copy link
Contributor

trop bot commented Dec 13, 2019

I have automatically backported this PR to "6-1-x", please check out #21506

@trop
Copy link
Contributor

trop bot commented Dec 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants