Skip to content

Commit e36a7d2

Browse files
sauerdanieltriklozoid
authored andcommitted
fix(state): delete key from recordsByKey on instance disposal (anomalyco#8252)
1 parent edb0289 commit e36a7d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/opencode/src/project/state.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export namespace State {
5858
tasks.push(task)
5959
}
6060
entries.clear()
61+
recordsByKey.delete(key)
6162
await Promise.all(tasks)
6263
disposalFinished = true
6364
log.info("state disposal completed", { key })

0 commit comments

Comments
 (0)