Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37833894
en ru br
ALT Linux repositórios
S:0.0.26-alt0_4_alpha

Group :: Jogos/Estratégia
RPM: 0ad

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0ad-mozjs78-PrepareZoneForGC.patch
Download


https://bugs.gentoo.org/735352
--- 0ad-0.0.25/source/scriptinterface/ScriptContext.cpp-
+++ 0ad-0.0.25/source/scriptinterface/ScriptContext.cpp
@@ -143,7 +143,7 @@ void ScriptContext::UnRegisterRealm(JS::
 	// Schedule the zone for GC, which will destroy the realm.
 	if (JS::IsIncrementalGCInProgress(m_cx))
 		JS::FinishIncrementalGC(m_cx, JS::GCReason::API);
-	JS::PrepareZoneForGC(js::GetRealmZone(realm));
+	JS::PrepareZoneForGC(m_cx, js::GetRealmZone(realm));
 	m_Realms.remove(realm);
 }
 
@@ -261,5 +261,5 @@ void ScriptContext::ShrinkingGC()
 void ScriptContext::PrepareZonesForIncrementalGC() const
 {
 	for (JS::Realm* const& realm : m_Realms)
-		JS::PrepareZoneForGC(js::GetRealmZone(realm));
+		JS::PrepareZoneForGC(m_cx, js::GetRealmZone(realm));
 }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009