[PR #8218] Avoid an access violation in pane animation if the child is closed #27146

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

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

State: closed
Merged: Yes


Some UTs crash with access violation, that occurs during pane animation.
The reason for this is a race, upon which the pane is closed (set to
nullptr) before the parent is animated. Added a simple check against
null. Doubt it can happen in production, yet worth taking care!

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8218 **State:** closed **Merged:** Yes --- Some UTs crash with access violation, that occurs during pane animation. The reason for this is a race, upon which the pane is closed (set to nullptr) before the parent is animated. Added a simple check against null. Doubt it can happen in production, yet worth taking care!
claunia added the pull-request label 2026-01-31 09:20:16 +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#27146