[PR #5225] Relax locking around the swapchain #26200

Open
opened 2026-01-31 09:14:35 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/5225

State: closed
Merged: Yes


Summary of the Pull Request

The terminal lock is really only for the terminal; since the renderer is
fully owned by the control, not the Terminal, and we'll only be
receiving swap chain events after we register them during
initialization, we don't need to lock before or after firing off the
coroutine.

PR Checklist

Validation Steps Performed

Manual validation.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/5225 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request The terminal lock is really only for the terminal; since the renderer is fully owned by the control, not the Terminal, and we'll only be receiving swap chain events after we register them during initialization, we don't need to lock before _or_ after firing off the coroutine. ## PR Checklist * [x] Closes #5203 ## Validation Steps Performed Manual validation.
claunia added the pull-request label 2026-01-31 09:14:35 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26200