mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 13:06:48 +00:00
Now calls JS_ShutDown (yay, undocumented functions...) to fix a couple of memory leaks
This was SVN commit r774.
This commit is contained in:
@@ -78,6 +78,8 @@ ScriptingHost::~ScriptingHost()
|
||||
JS_DestroyRuntime(m_RunTime);
|
||||
m_RunTime = NULL;
|
||||
}
|
||||
|
||||
JS_ShutDown();
|
||||
}
|
||||
|
||||
JSContext* ScriptingHost::getContext()
|
||||
|
||||
Reference in New Issue
Block a user