зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1323100 - Stop double-registering the LazyIdleThread with the profiler. r=froydnj
MozReview-Commit-ID: 2vdcgCcdOYJ --HG-- extra : rebase_source : fd8b7c4a3052b261317d832ec03ee1c93be723b9
This commit is contained in:
Родитель
923493c3bb
Коммит
f603a27cd8
|
@ -180,11 +180,6 @@ LazyIdleThread::EnsureThread()
|
|||
void
|
||||
LazyIdleThread::InitThread()
|
||||
{
|
||||
char aLocal;
|
||||
profiler_register_thread(mName.get(), &aLocal);
|
||||
|
||||
PR_SetCurrentThreadName(mName.get());
|
||||
|
||||
// Happens on mThread but mThread may not be set yet...
|
||||
|
||||
nsCOMPtr<nsIThreadInternal> thread(do_QueryInterface(NS_GetCurrentThread()));
|
||||
|
@ -211,8 +206,6 @@ LazyIdleThread::CleanupThread()
|
|||
MOZ_ASSERT(!mThreadIsShuttingDown, "Shouldn't be true ever!");
|
||||
mThreadIsShuttingDown = true;
|
||||
}
|
||||
|
||||
profiler_unregister_thread();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче