mirror of
https://github.com/reactos/reactos.git
synced 2026-06-04 10:20:48 +08:00
[WINSRV] Don't try to remove messages from the queue without dispatching them. CORE-13734
This partially reverts r58615 / 01729482ae.
This commit is contained in:
@@ -229,13 +229,10 @@ GuiConsoleInputThread(PVOID Param)
|
||||
* that the window that we want to destroy doesn't exist yet.
|
||||
* So first empty the message queue.
|
||||
*/
|
||||
/*
|
||||
while (PeekMessageW(&TempMsg, NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&TempMsg);
|
||||
DispatchMessageW(&TempMsg);
|
||||
}*/
|
||||
while (PeekMessageW(&TempMsg, NULL, 0, 0, PM_REMOVE)) ;
|
||||
}
|
||||
|
||||
if (GuiData->hWindow == NULL) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user