зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1889083 - Leak image explicitly in SurfaceCache::ReleaseImageOnMainThread. r=xpcom-reviewers,nika,emilio
Differential Revision: https://phabricator.services.mozilla.com/D206346
This commit is contained in:
Родитель
ad214075f8
Коммит
7be82ed20f
|
@ -1945,6 +1945,7 @@ void SurfaceCache::ReleaseImageOnMainThread(
|
|||
// Don't try to dispatch the release after shutdown, we'll just leak the
|
||||
// runnable.
|
||||
if (AppShutdown::IsInOrBeyond(ShutdownPhase::XPCOMShutdownFinal)) {
|
||||
Unused << aImage;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче