mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 857399 - remove assertion from cocoa FireAndWaitForTracerEvent. r=smichaud
This commit is contained in:
parent
e86f739775
commit
34ee111db8
@ -56,7 +56,12 @@ bool FireAndWaitForTracerEvent()
|
||||
NS_ABORT_IF_FALSE(sMutex && sCondVar, "Tracing not initialized!");
|
||||
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
|
||||
MutexAutoLock lock(*sMutex);
|
||||
NS_ABORT_IF_FALSE(!sTracerProcessed, "Tracer synchronization state is wrong");
|
||||
if (sTracerProcessed) {
|
||||
// Things are out of sync. This is likely because we're in
|
||||
// the middle of shutting down. Just return false and hope the
|
||||
// tracer thread is quitting anyway.
|
||||
return false;
|
||||
}
|
||||
|
||||
// Post an application-defined event to the main thread's event queue
|
||||
// and wait for it to get processed.
|
||||
|
Loading…
Reference in New Issue
Block a user