mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristau
--HG-- extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc
This commit is contained in:
parent
7e4ac9f3a2
commit
2c709a3e82
7 changed files with 39 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue