summaryrefslogtreecommitdiffstats
path: root/tools/memory_watcher/call_stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/memory_watcher/call_stack.h')
-rw-r--r--tools/memory_watcher/call_stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/memory_watcher/call_stack.h b/tools/memory_watcher/call_stack.h
index 2c026bc..aa3685d 100644
--- a/tools/memory_watcher/call_stack.h
+++ b/tools/memory_watcher/call_stack.h
@@ -84,7 +84,7 @@ class CallStack {
}
static void UnlockDbgHelp() {
- active_thread_id_ = GetCurrentThreadId();
+ active_thread_id_ = 0;
dbghelp_lock_.Release();
}