From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- image/SurfaceCache.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'image/SurfaceCache.cpp') diff --git a/image/SurfaceCache.cpp b/image/SurfaceCache.cpp index 5cfe7c086b..6f05bce6ff 100644 --- a/image/SurfaceCache.cpp +++ b/image/SurfaceCache.cpp @@ -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; } -- cgit v1.2.3