crash: tag the thread type

This commit is contained in:
Mitchell Hashimoto
2024-09-02 09:59:19 -07:00
parent d8cc19612f
commit bae12993b3
3 changed files with 16 additions and 1 deletions

View File

@@ -194,6 +194,7 @@ fn threadMain_(self: *Thread) !void {
// Setup our crash metadata
crash.sentry.thread_state = .{
.type = .renderer,
.surface = self.renderer.surface_mailbox.surface,
};
defer crash.sentry.thread_state = null;