Skip to content

Fix crash in start_display_link (#50875) (cherry-pick to preview)#50878

Merged
zed-zippy[bot] merged 1 commit intov0.227.xfrom
cherry-pick-v0.227.x-41cfb82b
Mar 5, 2026
Merged

Fix crash in start_display_link (#50875) (cherry-pick to preview)#50878
zed-zippy[bot] merged 1 commit intov0.227.xfrom
cherry-pick-v0.227.x-41cfb82b

Conversation

@zed-zippy
Copy link
Copy Markdown
Contributor

@zed-zippy zed-zippy bot commented Mar 5, 2026

Cherry-pick of #50875 to preview


Fixes ZED-5G8

If DisplayLink::new fails, frame_requests is dropped . It is not
valid to destroy a DispatchSource that is not resume()d. So, ensure we
call resume() before there's a chance for anything to fail.

Release Notes:

  • Fixed a crash that could occur on macOS when changing monitor
    configurations

Fixes ZED-5G8

If `DisplayLink::new` fails, `frame_requests` is dropped . It is not
valid to destroy a DispatchSource that is not `resume()`d. So, ensure we
call `resume()` before there's a chance for anything to fail.

Release Notes:

- Fixed a crash that could occur on macOS when changing monitor
configurations
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 5, 2026
@zed-community-bot zed-community-bot bot added the bot Pull requests authored by a bot label Mar 5, 2026
@zed-zippy zed-zippy bot merged commit 58cf75b into v0.227.x Mar 5, 2026
38 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.227.x-41cfb82b branch March 5, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant