1
0
forked from 0ad/0ad
0ad/source
wraitii b0c3037abc Fix JS incremental GC issue (destroyed realms are not collected).
Further work would be nice to be able to only collect zones that
probably have garbage to collect, but that likely requires splitting our
contexts in more zones.

0 A.D. had been running in incremental GC since 1.8.5. With the SM78
upgrade, I changed this to the new default "ZONE_INCREMENTAL", which GCs
specific zones.
However, I failed to realise that deleted scriptInterfaces and their
corresponding zones would no longer be collected.
This corrects for that.

Fixes d92a2118b0.

Refs #5861

Differential Revision: https://code.wildfiregames.com/D3220
This was SVN commit r24392.
2020-12-14 08:51:29 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
gui Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
i18n Update ICU on Windows to 68.1 with the v140_xp toolset. 2020-12-02 16:47:28 +00:00
lib Fix non-visual replay on Windows. Use the actual detected resolution. 2020-12-12 08:18:24 +00:00
lobby Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
maths Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Fix non-visual replay on Windows. Use the actual detected resolution. 2020-12-12 08:18:24 +00:00
renderer Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
rlinterface Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
scriptinterface Fix JS incremental GC issue (destroyed realms are not collected). 2020-12-14 08:51:29 +00:00
simulation2 Run a short-pathfinder call occasionally to get unstuck in some situations. 2020-12-13 15:25:16 +00:00
soundmanager Improve sound attenuation so that zooming out actually reduce the sound level. 2020-12-13 00:04:17 +00:00
third_party Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
tools Associate .zip and .pyromod files with 0 A.D. on MacOS 2020-12-11 15:43:25 +00:00
main.cpp Associate .zip and .pyromod files with 0 A.D. on MacOS 2020-12-11 15:43:25 +00:00
test_setup.cpp Fix non-visual replay on Windows. Use the actual detected resolution. 2020-12-12 08:18:24 +00:00