зеркало из https://github.com/mozilla/pjs.git
fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac.
This commit is contained in:
Родитель
6656b2284f
Коммит
13204dc51d
|
@ -230,6 +230,7 @@ nsEventQueueServiceImpl::GetThreadEventQueue(PRThread* aThread, PLEventQueue** a
|
|||
*aResult = evQueueEntry->GetEventQueue();
|
||||
} else {
|
||||
// XXX: Need error code for requesting an event queue when none exists...
|
||||
*aResult = NULL;
|
||||
rv = NS_ERROR_FAILURE;
|
||||
goto done;
|
||||
}
|
||||
|
|
|
@ -230,6 +230,7 @@ nsEventQueueServiceImpl::GetThreadEventQueue(PRThread* aThread, PLEventQueue** a
|
|||
*aResult = evQueueEntry->GetEventQueue();
|
||||
} else {
|
||||
// XXX: Need error code for requesting an event queue when none exists...
|
||||
*aResult = NULL;
|
||||
rv = NS_ERROR_FAILURE;
|
||||
goto done;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче