[PR #12599] Fix fail-fast due to unlocked FreeProcessData call #29129

Closed
opened 2026-01-31 09:32:58 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


2b202ce6 introduced a bug, where FreeProcessData was called without the console
lock being held. The previous code can be found in 40e3dea, on line 441-454.

PR Checklist

  • Closes MSFT:21372705
  • I work here
  • Tests added/passed

Validation Steps Performed

None, as this fix is purely theoretic, but it matches the stack trace
and 40e3dea clearly wasn't correctly ported to strict C++ either.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12599 **State:** closed **Merged:** Yes --- 2b202ce6 introduced a bug, where FreeProcessData was called without the console lock being held. The previous code can be found in 40e3dea, on line 441-454. ## PR Checklist * [x] Closes MSFT:21372705 * [x] I work here * [x] Tests added/passed ## Validation Steps Performed None, as this fix is purely theoretic, but it matches the stack trace and 40e3dea clearly wasn't correctly ported to strict C++ either.
claunia added the pull-request label 2026-01-31 09:32:58 +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#29129