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

pull/8273/head
Daniel Sauer 2026-01-13 19:43:16 +01:00 committed by GitHub
parent 80e1173ef7
commit b68a4a8838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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 })