Crash log: Only show scope info for the game thread

pull/590/head
Jonathan G Rennison 10 months ago
parent d6ff538a46
commit e92ee922cf

@ -557,7 +557,7 @@ char *CrashLog::FillCrashLog(char *buffer, const char *last)
#ifdef USE_SCOPE_INFO
buffer = this->TryCrashLogFaultSection(buffer, last, "scope", [](CrashLog *self, char *buffer, const char *last) -> char * {
if (IsMainThread() || IsGameThread()) {
if (IsGameThread()) {
buffer += WriteScopeLog(buffer, last);
}
return buffer;

Loading…
Cancel
Save