summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-20 20:11:17 +0100
committermadmaxoft <github@xoft.cz>2014-02-20 20:13:06 +0100
commit50bebd2dbdb26a48ce1637bf515770d1bfc50d99 (patch)
tree3cfc73a8b886de7827f3d3db4a55e909fdb4e467 /src
parentMerge pull request #700 from Howaner/GlobalFixes (diff)
downloadcuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.tar
cuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.tar.gz
cuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.tar.bz2
cuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.tar.lz
cuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.tar.xz
cuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.tar.zst
cuberite-50bebd2dbdb26a48ce1637bf515770d1bfc50d99.zip
Diffstat (limited to 'src')
-rw-r--r--src/Server.cpp4
-rw-r--r--src/main.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index ab1458da4..c60418b41 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -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)
diff --git a/src/main.cpp b/src/main.cpp
index c8cd2d4fe..4d2801926 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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