Update dependencies (#1822)

This commit is contained in:
Wim
2022-05-02 00:10:54 +02:00
committed by GitHub
parent 888c8b9a84
commit 81e6f75aa4
54 changed files with 640 additions and 232 deletions

View File

@@ -92,6 +92,7 @@ func (r *Ring) Dequeue() interface{} {
return nil
}
v := r.get(r.tail)
r.set(r.tail, nil)
if r.tail == r.head {
r.head = -1
r.tail = 0