Files
pnpm/cache
Zoltan Kochan cbf7dfcf65 fix: guard MetadataCache methods against use after close
Add early-return guards to getHeaders, getIndex, getManifest, and
updateCachedAt when the DB has been closed. This prevents "statement
has been finalized" errors when the process exit handler closes the
DB while async operations are still in flight.

Also change store controller close to flush (not close) the metadata
DB, since the exit handler handles cleanup.
2026-04-01 16:55:07 +02:00
..