зеркало из https://github.com/mozilla/gecko-dev.git
Bug 445030, win32 nsAppShell eats WM_QUIT messages, r=robert.bugzilla@gmail.com, sr=roc
This commit is contained in:
Родитель
16640d187b
Коммит
692ef42a64
|
@ -142,6 +142,7 @@ nsAppShell::ProcessNextNativeEvent(PRBool mayWait)
|
|||
::PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
gotMessage = PR_TRUE;
|
||||
if (msg.message == WM_QUIT) {
|
||||
::PostQuitMessage(msg.wParam);
|
||||
Exit();
|
||||
} else {
|
||||
::TranslateMessage(&msg);
|
||||
|
|
Загрузка…
Ссылка в новой задаче