Add a log message when dbghelp.dll is detected & callstacks are disabled

This commit is contained in:
baldurk
2017-02-13 10:06:30 +00:00
parent 6f60442d1b
commit 6ac729c230
+3
View File
@@ -142,6 +142,9 @@ static bool InitDbgHelp()
// can't reliably co-exist with dbghelp already being used in the process
if(GetModuleHandleA("dbghelp.dll") != NULL)
{
RDCLOG(
"dbghelp.dll is already loaded, can't guarantee thread-safety against application use. "
"Callstack collection disabled");
ret = false;
return false;
}