forked from mirrors/gecko-dev
Bug 1899866 - Remove very frequent CanvasShutdownManager::Destroy() warning. r=gfx-reviewers,bradwerth
This is one of the most common sources of debug log spam. Differential Revision: https://phabricator.services.mozilla.com/D212169
This commit is contained in:
parent
f14b6ec993
commit
d4a8bd78d9
1 changed files with 1 additions and 2 deletions
|
|
@ -93,8 +93,7 @@ void CanvasShutdownManager::Destroy() {
|
|||
}
|
||||
|
||||
if (NS_IsMainThread()) {
|
||||
if (NS_WARN_IF(
|
||||
AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed))) {
|
||||
if (AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue