1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00

GO-4118 fix panic in persistentqueue

This commit is contained in:
Roman Khafizianov 2024-09-19 15:03:24 +02:00
parent d579f8c2c6
commit 9e733f3e0e
No known key found for this signature in database
GPG key ID: F07A7D55A2684852

View file

@ -312,6 +312,7 @@ func (q *Queue[T]) notifyWaiters() {
for _, w := range q.waiters {
close(w.waitCh)
}
q.waiters = nil
q.currentProcessingKey = nil
}