()
| 1008 | // runs the finalizer, releasing the handle so a follow-up rename/rm succeeds. |
| 1009 | // No-op outside the Bun runtime (e.g. vitest on Node), where this is unneeded. |
| 1010 | const nudgeNativeHandleRelease = (): void => { |
| 1011 | const bun = (globalThis as { Bun?: { gc?: (sync: boolean) => void } }).Bun; |
| 1012 | bun?.gc?.(true); |
| 1013 | }; |
| 1014 | |
| 1015 | // Windows reports EBUSY/EPERM on rename for a short window after a SQLite |
| 1016 | // handle closes (handle release lags the close call, and antivirus scanners |
no outgoing calls
no test coverage detected