Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

fix(windows): include mimalloc.h for mi_thread_done

Martin Vogel4da2351f4f88
diff --git a/src/foundation/compat_thread.c b/src/foundation/compat_thread.c
index ffcaab85e..14a0f4104 100644
--- a/src/foundation/compat_thread.c
+++ b/src/foundation/compat_thread.c
@@ -7,6 +7,8 @@
#include "foundation/constants.h"
#include "foundation/compat_thread.h"
+#include <mimalloc.h> /* mi_thread_done at thread exit */
+
#include <pthread.h>
#include <stdlib.h>