mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek.
This commit is contained in:
parent
5914b07d1e
commit
758348974b
@ -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…
x
Reference in New Issue
Block a user