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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user