Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,12 @@ WindowMsgHandledType WOLWelcomeMenuSystem( GameWindow *window, UnsignedInt msg,
{
UnicodeString txtInput;

// During shutdown the window hierarchy is being torn down; ignore all
// messages to prevent use-after-free crashes caused by mouse-enter/leave
// events that are still in-flight while the parent window is being destroyed.
if( isShuttingDown )
return MSG_IGNORED;

switch( msg )
{

Expand Down
Loading