Bug 445030, win32 nsAppShell eats WM_QUIT messages, r=robert.bugzilla@gmail.com, sr=roc

This commit is contained in:
hectorchu@gmail.com 2008-08-09 21:49:42 +03:00
Родитель 16640d187b
Коммит 692ef42a64
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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);