FIx dangling pointer in thread context when using detached threads

This commit is contained in:
2026-07-15 22:53:01 +10:00
parent a718c600b9
commit 6a822ad080
4 changed files with 34 additions and 32 deletions
+1 -9
View File
@@ -1,4 +1,4 @@
// Generated by the DN single header generator 2026-07-15 21:41:33
// Generated by the DN single header generator 2026-07-15 22:47:49
#if !defined(DN_H)
#define DN_H
@@ -1714,14 +1714,6 @@ struct DN_TCCore // (T)hread (C)ontext sitting in thread-local storage
char lane_opaque[sizeof(DN_U64) * 4];
void* user_context;
DN_MemList main_arena_mem_;
DN_MemList temp_arena_mems_[4];
DN_MemList err_sink_arena_mem_;
DN_Arena main_arena_;
DN_Arena temp_arenas_[4];
DN_Arena err_sink_arena_;
DN_Arena* main_arena;
DN_Pool main_pool;
DN_Arena* temp_arenas[4];