[PR #19297] Fix a race condition around Open/CloseClipboard #31790

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

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

State: closed
Merged: Yes


tl;dr: Open/CloseClipboard are surprisingly not thread-safe.

Validation Steps Performed

  • Copy a large amount of text (>1MB)
  • Run edit.exe
  • Press and hold Ctrl+Shift+V
  • Doesn't crash
**Original Pull Request:** https://github.com/microsoft/terminal/pull/19297 **State:** closed **Merged:** Yes --- tl;dr: Open/CloseClipboard are surprisingly not thread-safe. ## Validation Steps Performed * Copy a large amount of text (>1MB) * Run `edit.exe` * Press and hold Ctrl+Shift+V * Doesn't crash ✅
claunia added the pull-request label 2026-01-31 09:49:36 +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#31790