gpui: Fix thermal state notifications on intel macOS#49086
Merged
bennetbo merged 2 commits intozed-industries:mainfrom Feb 16, 2026
Merged
gpui: Fix thermal state notifications on intel macOS#49086bennetbo merged 2 commits intozed-industries:mainfrom
bennetbo merged 2 commits intozed-industries:mainfrom
Conversation
Contributor
|
I built this branch and things appear to be stable (no crashes in ~10mins). zed.logBut this branch looks good. |
This was referenced Feb 13, 2026
Contributor
Author
|
Superseded by #49189 |
Contributor
Author
|
Reopening this since #49189 doesn't fully fix the issue |
Member
|
Thank you for fixing it! Planning to cherry-pick #49189 and this PR soon |
Contributor
Author
|
@bennetbo thank you so much! I don't think we need to cherry pick #49189 since it didn't fully fixed the issue. I think this PR is the only one necessary. See #49189 (comment) Also the fix is necessary only for preview channel. It shouldn't be present on stable. |
Member
|
/cherry-pick preview |
github-actions bot
pushed a commit
that referenced
this pull request
Feb 16, 2026
Fixes #45638 (comment) Closes #49005 The issue was similar to the one we already had with the quit method https://github.com/zed-industries/zed/blob/8249ef56187b966c33f6667d0d3a35d88d8f2dc0/crates/gpui/src/platform/mac/platform.rs#L491 @notpeter Could you please test this branch to confirm it resolves the issue? - [ ] Tests or screenshots needed? - [x] Code Reviewed - [ ] Manual QA Release Notes: - Fixed an issue where Zed would randomly crash on macOS intel
Merged
3 tasks
zed-zippy bot
added a commit
that referenced
this pull request
Feb 16, 2026
…-pick to preview) (#49248) Cherry-pick of #49086 to preview ---- Fixes #45638 (comment) Closes #49005 The issue was similar to the one we already had with the quit method https://github.com/zed-industries/zed/blob/8249ef56187b966c33f6667d0d3a35d88d8f2dc0/crates/gpui/src/platform/mac/platform.rs#L491 @notpeter Could you please test this branch to confirm it resolves the issue? - [ ] Tests or screenshots needed? - [x] Code Reviewed - [ ] Manual QA Release Notes: - Fixed an issue where Zed would randomly crash on macOS intel Co-authored-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
bennetbo
pushed a commit
that referenced
this pull request
Feb 16, 2026
…ed" (#49251) Reverts #49189 Reverts #49187 #49189 introduces a panic (#49189 (comment), #49181 (comment)) #49187 It's wrong since it leads to missing updates The original crash should be fixed with #49086 cc: @bennetbo Release Notes: - N/A
rtfeldman
pushed a commit
that referenced
this pull request
Feb 17, 2026
Fixes #45638 (comment) Closes #49005 The issue was similar to the one we already had with the quit method https://github.com/zed-industries/zed/blob/8249ef56187b966c33f6667d0d3a35d88d8f2dc0/crates/gpui/src/platform/mac/platform.rs#L491 @notpeter Could you please test this branch to confirm it resolves the issue? - [ ] Tests or screenshots needed? - [x] Code Reviewed - [ ] Manual QA Release Notes: - Fixed an issue where Zed would randomly crash on macOS intel
rtfeldman
pushed a commit
that referenced
this pull request
Feb 17, 2026
…ed" (#49251) Reverts #49189 Reverts #49187 #49189 introduces a panic (#49189 (comment), #49181 (comment)) #49187 It's wrong since it leads to missing updates The original crash should be fixed with #49086 cc: @bennetbo Release Notes: - N/A
Caio-Ze
pushed a commit
to Caio-Ze/postprod-ide
that referenced
this pull request
Feb 21, 2026
…49086) Fixes zed-industries#45638 (comment) Closes zed-industries#49005 The issue was similar to the one we already had with the quit method https://github.com/zed-industries/zed/blob/8249ef56187b966c33f6667d0d3a35d88d8f2dc0/crates/gpui/src/platform/mac/platform.rs#L491 @notpeter Could you please test this branch to confirm it resolves the issue? - [ ] Tests or screenshots needed? - [x] Code Reviewed - [ ] Manual QA Release Notes: - Fixed an issue where Zed would randomly crash on macOS intel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #45638 (comment)
Closes #49005
The issue was similar to the one we already had with the quit method
zed/crates/gpui/src/platform/mac/platform.rs
Line 491 in 8249ef5
@notpeter Could you please test this branch to confirm it resolves the issue?
Release Notes: