Skip to content

Conversation

MarshallOfSound
Copy link
Member

There appears to be a deadlock condition inside LSSharedFileListCopySnapshot which is called deep within the deprecated codepath on macOS. This change should ensure that the deprecated codepath is not followed 99% of the time.

Honestly we should probably just remove this deprecated code, but for now this is a backport safe variant that should fix the deadlock.

Notes: Fixed potential deadlock inside app.getLoginItemSettings on macOS

@MarshallOfSound MarshallOfSound added target/36-x-y PR should also be added to the "36-x-y" branch. target/37-x-y PR should also be added to the "37-x-y" branch. target/38-x-y PR should also be added to the "38-x-y" branch. labels Aug 16, 2025
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Aug 16, 2025
@codebytere codebytere added the semver/patch backwards-compatible bug fixes label Aug 17, 2025
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Aug 17, 2025
@VerteDinde VerteDinde merged commit 3770bb3 into main Aug 18, 2025
66 of 68 checks passed
@VerteDinde VerteDinde deleted the sam/avoid-deprecated-login branch August 18, 2025 05:00
@release-clerk
Copy link

release-clerk bot commented Aug 18, 2025

Release Notes Persisted

Fixed potential deadlock inside app.getLoginItemSettings on macOS

@trop
Copy link
Contributor

trop bot commented Aug 18, 2025

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

@trop trop bot removed the target/38-x-y PR should also be added to the "38-x-y" branch. label Aug 18, 2025
@trop
Copy link
Contributor

trop bot commented Aug 18, 2025

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

@trop
Copy link
Contributor

trop bot commented Aug 18, 2025

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

@trop trop bot added in-flight/36-x-y in-flight/37-x-y merged/37-x-y PR was merged to the "37-x-y" branch. merged/36-x-y PR was merged to the "36-x-y" branch. and removed target/36-x-y PR should also be added to the "36-x-y" branch. target/37-x-y PR should also be added to the "37-x-y" branch. in-flight/37-x-y in-flight/36-x-y labels Aug 18, 2025
@trop trop bot added merged/38-x-y PR was merged to the "38-x-y" branch. and removed in-flight/38-x-y labels Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/36-x-y PR was merged to the "36-x-y" branch. merged/37-x-y PR was merged to the "37-x-y" branch. merged/38-x-y PR was merged to the "38-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants