Skip to content

Commit 3ee7565

Browse files
committed
Remove mi_fls_key workaround
1 parent 97f82e8 commit 3ee7565

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • Objects/mimalloc/prim/windows

‎Objects/mimalloc/prim/windows/prim.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,8 +1207,6 @@ extern "C" {
12071207
}
12081208

12091209
void _mi_prim_thread_associate_default_theap(mi_theap_t* theap) {
1210-
// mi_thread_init runs before _mi_prim_thread_init_auto_done during process init
1211-
if (mi_fls_key == (DWORD)(-1)) return;
12121210
FlsSetValue(mi_fls_key, theap);
12131211
}
12141212
#else

0 commit comments

Comments
 (0)