From c160401c72d68670b8ebab327fb5196e8022f230 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sat, 17 May 2025 13:58:48 -0500 Subject: [PATCH] allow relwdebug leak tracing use TORQUE_ENABLE_ASSERTS, not just DEBUG for a filter --- Engine/source/main/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/main/main.cpp b/Engine/source/main/main.cpp index c0699b9a1..e7851b80c 100644 --- a/Engine/source/main/main.cpp +++ b/Engine/source/main/main.cpp @@ -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