fix(state): delete key from recordsByKey on instance disposal (#8252)

This commit is contained in:
Daniel Sauer 2026-01-13 19:43:16 +01:00 committed by GitHub
commit b68a4a8838
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,7 @@ export namespace State {
tasks.push(task)
}
entries.clear()
recordsByKey.delete(key)
await Promise.all(tasks)
disposalFinished = true
log.info("state disposal completed", { key })