diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-05 02:12:34 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-05 02:12:34 +0900 |
| commit | 7548a627e580d915d7b4f4123b97b68e28893518 (patch) | |
| tree | 266f909d17fbee0bcbbbbb7aa0ae2d75508afc0f /internal/pkg/pkg.go | |
| parent | b98d27f773d74059e92bd5d4169e1347eeb4a6d9 (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/pkg/pkg.go')
| -rw-r--r-- | internal/pkg/pkg.go | 1 |
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) |
