mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
plugging moar leaks
Namespace Leaks: these leaks would have been freed on app kill but they were still contaminating the log so free em. Con::shutdown: gGlobablVars again another leak that would of been freed on app kill AssetManager onRemove should be clearing its lists Scripting language needs a free for its strings these destructors free after the rule is executed so the data is cached internally and then freed. This may be needed for other types in the union (should not be used on nodes just raw data)
This commit is contained in:
parent
b0eb3875c9
commit
e2c4f88faf
6 changed files with 401 additions and 332 deletions
|
|
@ -440,6 +440,7 @@ void shutdown()
|
|||
Namespace::shutdown();
|
||||
AbstractClassRep::shutdown();
|
||||
Compiler::freeConsoleParserList();
|
||||
gGlobalVars.reset();
|
||||
}
|
||||
|
||||
bool isActive()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue