Disabled the leak finder.
This commit is contained in:
parent
191a08fc32
commit
50bebd2dbd
@ -39,7 +39,9 @@ extern "C" {
|
||||
|
||||
// For the "dumpmem" server command:
|
||||
/// Synchronize this with main.cpp - the leak finder needs initialization before it can be used to dump memory
|
||||
#define ENABLE_LEAK_FINDER
|
||||
// _X 2014_02_20: Disabled for canon repo, it makes the debug version too slow in MSVC2013
|
||||
// and we haven't had a memory leak for over a year anyway.
|
||||
// #define ENABLE_LEAK_FINDER
|
||||
|
||||
#if defined(_MSC_VER) && defined(_DEBUG) && defined(ENABLE_LEAK_FINDER)
|
||||
#pragma warning(push)
|
||||
|
@ -30,7 +30,9 @@ bool g_ShouldLogCommOut;
|
||||
|
||||
|
||||
/// If defined, a thorough leak finder will be used (debug MSVC only); leaks will be output to the Output window
|
||||
#define ENABLE_LEAK_FINDER
|
||||
// _X 2014_02_20: Disabled for canon repo, it makes the debug version too slow in MSVC2013
|
||||
// and we haven't had a memory leak for over a year anyway.
|
||||
// #define ENABLE_LEAK_FINDER
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user