Merge pull request #1463 from Azaezel/alpha41/rewdebugLeaktracking

allow relwdebug leak tracing
This commit is contained in:
Brian Roberts 2025-05-17 13:59:12 -05:00 committed by GitHub
commit 557101b338
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,7 +231,7 @@ S32 TorqueMain(S32 argc, const char **argv)
// argv = argvFake;
// }
#if defined( TORQUE_DEBUG ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
#if defined( TORQUE_ENABLE_ASSERTS ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
Memory::init();
#endif
@ -258,7 +258,7 @@ S32 TorqueMain(S32 argc, const char **argv)
#if defined( TORQUE_DEBUG ) && !defined( TORQUE_DISABLE_MEMORY_MANAGER )
#if defined( TORQUE_ENABLE_ASSERTS ) && !defined( TORQUE_DISABLE_MEMORY_MANAGER )
Memory::shutdown();
#endif