mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 19:46:16 +03:00
fix(state): delete key from recordsByKey on instance disposal (#8252)
This commit is contained in:
committed by
GitHub
Unverified
parent
80e1173ef7
commit
b68a4a8838
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user