mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
clear utf16 cache
this stops the unicode global cache from showing in the memleak output
This commit is contained in:
parent
8926d1c32b
commit
d8315267e8
4 changed files with 12 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ S32 TorqueMain(S32 argc, const char **argv)
|
|||
// argv = argvFake;
|
||||
// }
|
||||
|
||||
#if !defined(TORQUE_DISABLE_MEMORY_MANAGER)
|
||||
#if defined( TORQUE_DEBUG ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
|
||||
Memory::init();
|
||||
#endif
|
||||
|
||||
|
|
@ -257,6 +257,7 @@ S32 TorqueMain(S32 argc, const char **argv)
|
|||
Platform::restartInstance();
|
||||
|
||||
|
||||
|
||||
#if defined( TORQUE_DEBUG ) && !defined( TORQUE_DISABLE_MEMORY_MANAGER )
|
||||
Memory::shutdown();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue