Now calls JS_ShutDown (yay, undocumented functions...) to fix a couple of memory leaks

This was SVN commit r774.
This commit is contained in:
Ykkrosh
2004-07-18 18:42:45 +00:00
parent 7c623b02ee
commit 82575127d4
+2
View File
@@ -78,6 +78,8 @@ ScriptingHost::~ScriptingHost()
JS_DestroyRuntime(m_RunTime);
m_RunTime = NULL;
}
JS_ShutDown();
}
JSContext* ScriptingHost::getContext()