aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-05 02:12:34 +0900
committerOphestra <cat@gensokyo.uk>2026-01-05 02:12:34 +0900
commit7548a627e580d915d7b4f4123b97b68e28893518 (patch)
tree266f909d17fbee0bcbbbbb7aa0ae2d75508afc0f /internal
parentb98d27f773d74059e92bd5d4169e1347eeb4a6d9 (diff)
internal/pkg: delete stale done channels
There is no reason to keep these around. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/pkg/pkg.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go
index 8b07786e..b880b496 100644
--- a/internal/pkg/pkg.go
+++ b/internal/pkg/pkg.go
@@ -293,6 +293,7 @@ func (c *Cache) finaliseIdent(
} else {
c.ident[*id] = *checksum
}
+ delete(c.identPending, *id)
c.identMu.Unlock()
close(done)