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:
parent
d579f8c2c6
commit
9e733f3e0e
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ func (q *Queue[T]) notifyWaiters() {
|
|||
for _, w := range q.waiters {
|
||||
close(w.waitCh)
|
||||
}
|
||||
q.waiters = nil
|
||||
q.currentProcessingKey = nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue