Skip to content

fix: clean up callback handling in webContents.print() - #35141

Merged
VerteDinde merged 1 commit into
20-x-yfrom
better-print-reason-20
Aug 1, 2022
Merged

fix: clean up callback handling in webContents.print()#35141
VerteDinde merged 1 commit into
20-x-yfrom
better-print-reason-20

Conversation

@codebytere

Copy link
Copy Markdown
Member

Backport of #34894.

See that PR for details.

Notes: Fixed an issue where invalid print job settings would correctly call back Invalid print settings as the failure reason, but would then not terminate the print job, leading to an eventual crash on exit.

@codebytere
codebytere requested a review from VerteDinde July 29, 2022 21:35
@codebytere
codebytere requested review from a team as code owners July 29, 2022 21:35
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jul 29, 2022
@trop trop Bot added 20-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jul 29, 2022
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jul 29, 2022
@github-actions

Copy link
Copy Markdown
Contributor

electron-woa-testing

    1 files  178 suites   1m 58s ⏱️
380 tests 380 ✔️ 0 💤 0
415 runs  415 ✔️ 0 💤 0

Results for commit 654aab2.

@VerteDinde
VerteDinde merged commit 0e6f172 into 20-x-y Aug 1, 2022
@VerteDinde
VerteDinde deleted the better-print-reason-20 branch August 1, 2022 14:41
@release-clerk

release-clerk Bot commented Aug 1, 2022

Copy link
Copy Markdown

Release Notes Persisted

Fixed an issue where invalid print job settings would correctly call back Invalid print settings as the failure reason, but would then not terminate the print job, leading to an eventual crash on exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

20-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.

2 participants