fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac.

git-svn-id: svn://10.0.0.236/trunk@24417 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1999-03-19 05:54:17 +00:00
parent be9f0afe1a
commit f991b0aae1
2 changed files with 2 additions and 0 deletions

View File

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