mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
During hotloading the `ScriptRequest` was constructed from a `JSContext*`. That requires that already an other `ScriptRequest` is active. Which isn't always the case. Now The `ScriptRequest` is constructed from a `ScriptInterface&`. Storing a `ScriptInterface&` in the `ModuleLoader::Result` allows to remove the `m_Result` as it is retrieved from the `ScriptInterface`. |
||
|---|---|---|
| .. | ||
| test_FunctionWrapper.h | ||
| test_Module.h | ||
| test_Promises.h | ||
| test_ScriptConversions.h | ||
| test_ScriptInterface.h | ||