|
@@ -427,21 +427,6 @@ void init()
|
|
smConsoleInput.notify(postConsoleInput);
|
|
smConsoleInput.notify(postConsoleInput);
|
|
}
|
|
}
|
|
|
|
|
|
-//--------------------------------------
|
|
|
|
-
|
|
|
|
-void shutdown()
|
|
|
|
-{
|
|
|
|
- AssertFatal(active == true, "Con::shutdown should only be called once.");
|
|
|
|
- active = false;
|
|
|
|
-
|
|
|
|
- smConsoleInput.remove(postConsoleInput);
|
|
|
|
-
|
|
|
|
- consoleLogFile.close();
|
|
|
|
- Namespace::shutdown();
|
|
|
|
- AbstractClassRep::shutdown();
|
|
|
|
- Compiler::freeConsoleParserList();
|
|
|
|
- gGlobalVars.reset();
|
|
|
|
-}
|
|
|
|
|
|
|
|
bool isActive()
|
|
bool isActive()
|
|
{
|
|
{
|
|
@@ -2111,6 +2096,23 @@ void ensureTrailingSlash(char* pDstPath, const char* pSrcPath, S32 dstSize)
|
|
pDstPath[trailIndex] = 0;
|
|
pDstPath[trailIndex] = 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+//--------------------------------------
|
|
|
|
+
|
|
|
|
+void shutdown()
|
|
|
|
+{
|
|
|
|
+ AssertFatal(active == true, "Con::shutdown should only be called once.");
|
|
|
|
+ active = false;
|
|
|
|
+
|
|
|
|
+ smConsoleInput.remove(postConsoleInput);
|
|
|
|
+
|
|
|
|
+ consoleLogFile.close();
|
|
|
|
+ Namespace::shutdown();
|
|
|
|
+ AbstractClassRep::shutdown();
|
|
|
|
+ Compiler::freeConsoleParserList();
|
|
|
|
+ gGlobalVars.reset();
|
|
|
|
+ PathExpandos.clear();
|
|
|
|
+}
|
|
|
|
+
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
StringTableEntry getDSOPath(const char *scriptPath)
|
|
StringTableEntry getDSOPath(const char *scriptPath)
|