diff options
Diffstat (limited to 'image/SurfaceCache.cpp')
-rw-r--r-- | image/SurfaceCache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |