Fixed crashes when capturing stacktrace from multiple threads.
This commit is contained in:
parent
4f7e8ae39f
commit
45845fa31b
@ -54,7 +54,7 @@ void backtraceErrorCallback(void* data, const char* msg, int /* errnum */)
|
||||
btData.error = msg;
|
||||
}
|
||||
|
||||
backtrace_state* gBacktraceState = nullptr;
|
||||
thread_local backtrace_state* gBacktraceState = nullptr;
|
||||
} // namespace
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user