fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net
2003-10-06 01:46:31 +00:00
parent fa7cb8115d
commit bc1bb52b19
73 changed files with 2530 additions and 2745 deletions

View File

@@ -2534,12 +2534,11 @@ void PR_CALLBACK scanimage_thread_routine( void * arg )
(PLHandleEventProc) ThreadedHandleEvent,
(PLDestroyEventProc) ThreadedDestroyEvent);
if (eventQ->PostEvent(event) != PR_SUCCESS) {
if (NS_FAILED(eventQ->PostEvent(event))) {
NS_ERROR("Error trying to post event!\n");
PL_DestroyEvent(event);
return;
}
return;
}
void PR_CALLBACK ThreadedHandleEvent(PLEvent * event)