ruvnet/ruflo v3.13.1 (opens in new tab)
#TypeScript ๐ง Bug-fix release `ControllerRegistry.initController()` was calling `controllers.set(name, ...)` without closing the prior instance. `SqlJsRvfBackend` wrappers held an Emscripten MEMFS file (~11 MB each = sizeof `memory.db`) that only releases on explicit `.close()` โ JS GC of the wrapper does NOT reclaim MEMFS because the sql.js module is a process singleton. Fix: added `closePriorIfAny(name)` helper, called before every `controllers.set()` site. Best-effort close (catches errors...
Read the original article