summaryrefslogtreecommitdiffstats
path: root/widget/android/GfxInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'widget/android/GfxInfo.cpp')
-rw-r--r--widget/android/GfxInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/widget/android/GfxInfo.cpp b/widget/android/GfxInfo.cpp
index 181629e96..d92cdb526 100644
--- a/widget/android/GfxInfo.cpp
+++ b/widget/android/GfxInfo.cpp
@@ -377,6 +377,10 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
if (aOS)
*aOS = os;
+ if (mShutdownOccurred) {
+ return NS_OK;
+ }
+
// OpenGL layers are never blacklisted on Android.
// This early return is so we avoid potentially slow
// GLStrings initialization on startup when we initialize GL layers.