diff --git a/src/common/callstack_helper.cpp b/src/common/callstack_helper.cpp index eb1be7eb..49d8fd54 100644 --- a/src/common/callstack_helper.cpp +++ b/src/common/callstack_helper.cpp @@ -105,6 +105,11 @@ namespace tools std::string get_callstack_win_x64() { + // @TODO@ + // static epee::static_helpers::wrapper cs; + static std::recursive_mutex cs; + std::lock_guard lock(cs); + HANDLE h_process = GetCurrentProcess(); HANDLE h_thread = GetCurrentThread();