Activate MSVC leak report on exit with a configuratble BeastConfig setting

This commit is contained in:
Vinnie Falco
2013-09-04 16:12:58 -07:00
parent bcd6e9d676
commit a29ced1feb
3 changed files with 15 additions and 7 deletions

View File

@@ -147,6 +147,14 @@
//#define RIPPLE_VERIFY_NODEOBJECT_KEYS 1
#endif
/** Config: RIPPLE_DUMP_LEAKS_ON_EXIT
Displays heap blocks and counted objects which were not disposed of
during exit.
*/
#ifndef RIPPLE_DUMP_LEAKS_ON_EXIT
#define RIPPLE_DUMP_LEAKS_ON_EXIT 1
#endif
/** Config: RIPPLE_TRACK_MUTEXES
Turns on a feature that enables tracking and diagnostics for mutex
and recursive mutex objects. This affects the type of lock used