0ad/source/simulation2
wraitii 2f29b81027 Fix JS OOM in tests following aae417bd29
aae417bd29 made ScriptInterface not recreate a new JSContext since it
becomes a compartment wrapper, but that means we need to GC tests or
they might OOM.

To make it mostly seamless, GC on any test setup. The JS tests are
pretty close to the 16Mb limit as it stands so GC them manually too, for
good measure.

Refs #4893

Differential Revision: https://code.wildfiregames.com/D3101
This was SVN commit r24182.
2020-11-14 15:13:56 +00:00
..
components Fix JS OOM in tests following aae417bd29 2020-11-14 15:13:56 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Avoid overflow in UnitMotion. 2020-11-09 13:25:50 +00:00
scripting Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
serialization Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
system Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
tests Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
MessageTypes.h UnitMotion - Send messages to UnitAI when obstructed, to allow stopping early when walking and avoiding pathfinding lag. 2019-07-22 18:07:24 +00:00
Simulation2.cpp Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
Simulation2.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
TypeList.h Store turret positions in map files. 2020-11-11 19:40:44 +00:00