Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa

This commit is contained in:
Jim Chen
2014-01-14 10:33:32 -06:00
parent 834e3f4257
commit bcd7df32ff

View File

@@ -89,6 +89,10 @@ ThreadStackHelper::GetStack(Stack& aStack)
}
#if defined(XP_LINUX)
if (profiler_is_active()) {
// Profiler can interfere with our Linux signal handling
return;
}
if (!sInitialized) {
MOZ_ASSERT(false);
return;