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:
rpotts%netscape.com 1999-03-19 05:54:17 +00:00
Родитель 6656b2284f
Коммит 13204dc51d
2 изменённых файлов: 2 добавлений и 0 удалений

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

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