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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user