♻️ 🧮 cleanupRegistry.ts

This commit is contained in:
nirholas
2026-03-31 10:24:13 +00:00
parent 703b463940
commit c22fcedef3

View File

@@ -23,3 +23,4 @@ export function registerCleanup(cleanupFn: () => Promise<void>): () => void {
export async function runCleanupFunctions(): Promise<void> {
await Promise.all(Array.from(cleanupFunctions).map(fn => fn()))
}