mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek.
This commit is contained in:
parent
470501aa0d
commit
f486e3b94a
@ -74,6 +74,8 @@ void CleanUpWidgetTracing()
|
||||
// This function is called from the main (UI) thread.
|
||||
void SignalTracerThread()
|
||||
{
|
||||
if (!sMutex || !sCondVar)
|
||||
return;
|
||||
MutexAutoLock lock(*sMutex);
|
||||
NS_ABORT_IF_FALSE(!sTracerProcessed, "Tracer synchronization state is wrong");
|
||||
sTracerProcessed = true;
|
||||
|
@ -99,6 +99,8 @@ bool FireAndWaitForTracerEvent()
|
||||
|
||||
void SignalTracerThread()
|
||||
{
|
||||
if (!sMutex || !sCondVar)
|
||||
return;
|
||||
MutexAutoLock lock(*sMutex);
|
||||
NS_ABORT_IF_FALSE(!sTracerProcessed, "Tracer synchronization state is wrong");
|
||||
sTracerProcessed = true;
|
||||
|
@ -125,6 +125,7 @@ bool InitWidgetTracing()
|
||||
void CleanUpWidgetTracing()
|
||||
{
|
||||
CloseHandle(sEventHandle);
|
||||
sEventHandle = NULL;
|
||||
}
|
||||
|
||||
// This function is called from the main (UI) thread.
|
||||
|
Loading…
Reference in New Issue
Block a user