clear utf16 cache

this stops the unicode global cache from showing in the memleak output
This commit is contained in:
marauder2k7 2025-05-05 17:30:40 +01:00
parent 8926d1c32b
commit d8315267e8
4 changed files with 12 additions and 2 deletions

View file

@ -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