impr: Only add stacktrace to exceptions thrown in main thread

This commit is contained in:
WerWolv
2025-12-02 20:00:19 +01:00
parent 5c890e710e
commit ed32439645
3 changed files with 16 additions and 2 deletions

View File

@@ -7,5 +7,6 @@
namespace hex::trace {
std::optional<StackTraceResult> getLastExceptionStackTrace();
void enableExceptionCaptureForCurrentThread();
}