Files
pangolin/server
Josh Voyles 2c85bcd06b fix(db): deterministically finalize prepared statements after execution
Wrap Statement .all()/.get()/.run() via autoFinalizeStatement() with
try/finally calling stmt.finalize() post-execution, releasing native
sqlite3_stmt memory immediately instead of waiting for GC.

Safe because:
- Drizzle one-time queries invoke each statement once only
- Drizzle does not access statement after .all()/.get()/.run() returns
- Migration scripts use isolated new Database() instances (unpatched)
- No app code holds persistent .prepare() refs on main db
2026-05-02 15:50:54 -04:00
..
2026-04-29 21:04:11 -07:00
2026-04-27 15:24:16 -07:00
2026-04-30 11:39:37 -07:00
2026-02-04 15:19:58 -08:00
2026-05-02 07:37:18 -04:00
2026-05-02 07:37:18 -04:00
2026-04-30 10:56:12 -07:00
2026-02-24 17:58:11 -08:00
2026-04-21 20:51:59 -07:00
2026-05-02 07:37:18 -04:00
2025-04-06 16:06:50 -04:00
2026-05-02 07:37:18 -04:00
2026-05-02 07:37:18 -04:00