AppHost::_WindowActivated reads/writes various fields in a thread unsafe manner - maybe extra bad for ARM #18042

Open
opened 2026-01-31 06:02:08 +00:00 by claunia · 0 comments
Owner

Originally created by @lhecker on GitHub (Jul 26, 2022).

Additionally, that function might be called through the destructor when XAML empties the remaining Win32 message queue and we get called through IslandWindow::MessageHandler. _window is set to nullptr before that happens and we should check it before it's used through _CurrentDesktopGuid.

Originally created by @lhecker on GitHub (Jul 26, 2022). Additionally, that function might be called through the destructor when XAML empties the remaining Win32 message queue and we get called through `IslandWindow::MessageHandler`. `_window` is set to `nullptr` before that happens and we should check it before it's used through `_CurrentDesktopGuid`.
claunia added the Issue-BugPriority-3Product-TerminalArea-RemotingArea-Windowing labels 2026-01-31 06:02:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18042