Bug 1729466 - Don't enqueue async logging messages when the async logger is not running. r=pehrsons

Differential Revision: https://phabricator.services.mozilla.com/D125399
This commit is contained in:
Paul Adenot 2021-09-14 14:18:20 +00:00
parent 23838f8659
commit 6270f77ad0

View File

@ -195,7 +195,7 @@ class AsyncLogger {
}
}
bool Enabled() { return profiler_is_active(); }
bool Enabled() { return mRunning; }
private:
void Run() {