Browse Source

Don't enable leak detection on release builds

tags/2018-04-16
falkTX 10 years ago
parent
commit
dce7389e10
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      libs/juce/build-juce/AppConfig.h

+ 5
- 1
libs/juce/build-juce/AppConfig.h View File

@@ -204,7 +204,11 @@
Enables a memory-leak check for certain objects when the app terminates. See the LeakedObjectDetector
class and the JUCE_LEAK_DETECTOR macro for more details about enabling leak checking for specific classes.
*/
#define JUCE_CHECK_MEMORY_LEAKS 1
#if DEBUG
#define JUCE_CHECK_MEMORY_LEAKS 1
#else
#define JUCE_CHECK_MEMORY_LEAKS 0
#endif
//=============================================================================
/** Config: JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES


Loading…
Cancel
Save