1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Add support for Visual Leak Detector, since valgrind doesn't support MSVC

This commit is contained in:
2012-11-18 20:38:55 -08:00
parent 49dfb4e546
commit 9f276e2c57
26 changed files with 146 additions and 10 deletions

View File

@ -65,6 +65,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
//===========================================================================
static unsigned CALLBACK CreateThreadProc (LPVOID param) {
#ifdef USE_VLD
VLDEnable();
#endif
PerfAddCounter(kAsyncPerfThreadsTotal, 1);
PerfAddCounter(kAsyncPerfThreadsCurr, 1);