P5f fr: guard client allocator singleton including bookkeeping reads

This commit is contained in:
2026-09-19 23:43:32 -04:00
parent 4066f84d11
commit 7ce19da02b
3 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -1957,7 +1957,8 @@ TEST(RemoteGuards, BarrieredLegacyScopesCannotExemptAllocator) {
MG_Config::ActiveBackendType = *static_cast<BackendType*>(self);
const MG_Pipe::MGPipeFrontendKeyedRegistryScope registryScope;
const MG_Pipe::MagmaP7AllocatorDebtScope magmaScope;
MGPipeSlots().FindByLifetimeId(MGPipeKind::Texture, 99);
// HighWater had no per-method guard in the old implementation.
(void)MGPipeSlots().HighWater(MGPipeKind::Texture);
return MOBILEGL_OK;
}, &selectedBackend);
ClientSessionInstance().Stop();