2 Commits
Author SHA1 Message Date
mats 86f97f2888 Merge branch 'main' of https://git.tornberg.me/mats/go-cart-actor
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 1m11s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m14s
2025-10-19 16:46:15 +02:00
mats af3eb0d7bf fix close if no queue is used 2025-10-19 16:46:14 +02:00
+2
View File
@@ -104,7 +104,9 @@ func (s *DiskStorage[V]) LoadEvents(id uint64, grain Grain[V]) error {
}
func (s *DiskStorage[V]) Close() {
if s.queue != nil {
s.save()
}
close(s.done)
}