Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:RebuildFactoryUpdates
0ad
PrepareZoneForGC.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PrepareZoneForGC.patch of Package 0ad
diff -Nur 0ad-0.0.25b-alpha/source/scriptinterface/ScriptContext.cpp 0ad-0.0.25b-alpha-patched/source/scriptinterface/ScriptContext.cpp --- 0ad-0.0.25b-alpha/source/scriptinterface/ScriptContext.cpp 2021-07-27 23:56:58.000000000 +0200 +++ 0ad-0.0.25b-alpha-patched/source/scriptinterface/ScriptContext.cpp 2021-12-30 16:58:57.749562521 +0100 @@ -143,7 +143,7 @@ // 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::PrepareZonesForIncrementalGC() const { for (JS::Realm* const& realm : m_Realms) - JS::PrepareZoneForGC(js::GetRealmZone(realm)); + JS::PrepareZoneForGC(m_cx, js::GetRealmZone(realm)); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor