forked from mirrors/0ad
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