From af4da764b29dc29302119e285325fb782507333e Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Fri, 25 Sep 2026 09:43:52 +0700 Subject: [PATCH] A dev build is to name the raylib resources still loaded at exit --- TODO.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.org b/TODO.org index da4fb6eb..14fa03d0 100644 --- a/TODO.org +++ b/TODO.org @@ -1686,7 +1686,8 @@ Precision over completeness: a site that does not allocate is never marked, and =vec-new=, =map-new=, dyn arithmetic, keywords and dyn push and put are deliberately silent, each for its own reason. -** TODO A debug tracking allocator over the raylib boundary +** NEXT A debug tracking allocator over the raylib boundary +Decided 2026-09-25: build it. A dev build counts loads against unloads in the generated wrappers and lists what is still held at exit, by type and load site. Release builds pay nothing. ASan's leak detection covers memory instrumented code allocated — the Flan allocator, already clean. It does not cover a leaked texture, because that memory belongs to uninstrumented raylib. Every raylib call goes through a generated