mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 03:24:46 +00:00
Delete script scheduler, since it causes GC crashes and isn't used for anything important and could be implemented in pure JS instead.
This was SVN commit r7622.
This commit is contained in:
@@ -54,6 +54,8 @@ ScriptingHost::ScriptingHost()
|
||||
if(!m_Context)
|
||||
throw PSERROR_Scripting_SetupFailed();
|
||||
|
||||
// JS_SetGCZeal(m_Context, 2);
|
||||
|
||||
JS_SetErrorReporter(m_Context, ScriptingHost::ErrorReporter);
|
||||
|
||||
JS_BeginRequest(m_Context);
|
||||
|
||||
Reference in New Issue
Block a user