зеркало из https://github.com/mozilla/pjs.git
Fixing topcrash. r=darin@netscape.com, sr=jst@netscape.com, b=119693
This commit is contained in:
Родитель
6f7cb20b64
Коммит
9e195f50c5
|
@ -917,7 +917,12 @@ _pl_CleanupNativeNotifier(PLEventQueue* self)
|
|||
self->timerSet = PR_FALSE;
|
||||
}
|
||||
RemoveProp(self->eventReceiverWindow, _md_GetEventQueuePropName());
|
||||
DestroyWindow(self->eventReceiverWindow);
|
||||
|
||||
// DestroyWindow doesn't do anything when called a non ui thread. Since
|
||||
// self->eventReceiverWindow was created on the ui thread, it must be destroyed
|
||||
// on the ui thread.
|
||||
SendMessage(self->eventReceiverWindow, WM_CLOSE, 0, 0);
|
||||
|
||||
#elif defined(XP_OS2)
|
||||
WinDestroyWindow(self->eventReceiverWindow);
|
||||
#elif defined(MAC_USE_CARBON_EVENT)
|
||||
|
|
Загрузка…
Ссылка в новой задаче