Skip to content

fix: shell.trashItem crash when called in renderer - #28748

Merged
nornagon merged 3 commits into
masterfrom
fix-trashitem-in-renderer
Apr 22, 2021
Merged

nornagon merged 3 commits into
masterfrom
fix-trashitem-in-renderer

Conversation

@nornagon

@nornagon nornagon commented Apr 20, 2021 •

Copy link
Copy Markdown
Contributor

Description of Change

Fixes #28029. This has been broken in the renderer since it was introduced (by me 😳 ) in #25114.

Checklist

Release Notes

Notes: Fixed a crash when calling shell.trashItem() from the renderer process.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 20, 2021
@nornagon nornagon added the semver/patch backwards-compatible bug fixes label Apr 20, 2021

@jkleinsc jkleinsc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like newly added test is failing on all Windows platforms.

Comment thread spec-main/api-shell-spec.ts Resolved
@nornagon
nornagon requested a review from jkleinsc April 21, 2021 17:37
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 21, 2021
@nornagon
nornagon merged commit be3c2fd into master Apr 22, 2021
@release-clerk

release-clerk Bot commented Apr 22, 2021

Copy link
Copy Markdown

Release Notes Persisted

Fixed a crash when calling shell.trashItem() from the renderer process.

@trop

trop Bot commented Apr 22, 2021

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Apr 22, 2021

Copy link
Copy Markdown
Contributor

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

@zcbenz

zcbenz commented Apr 26, 2021

Copy link
Copy Markdown
Contributor

@nornagon The newly added test seems to fail consistently on ia32 Windows.

@nornagon

Copy link
Copy Markdown
Contributor Author

@zcbenz thanks for the ping. I have no idea why this test would fail on ia32 windows but not x64 windows, so for now I'm just going to disable the test to unbreak master.

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

Labels

semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shell.trashItem crashes the process

4 participants