summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/zfjagann/golang-ring
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-05-02 00:10:54 +0200
committerGitHub <noreply@github.com>2022-05-02 00:10:54 +0200
commit81e6f75aa491c7bfa11780dd622587cf5fff3c8f (patch)
tree817bca1b4071842029af876ab622bfdcb0360cca /vendor/github.com/zfjagann/golang-ring
parent888c8b9a845866730485a3a88c27027d0960d521 (diff)
downloadmatterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.tar.gz
matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.tar.bz2
matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.zip
Update dependencies (#1822)
Diffstat (limited to 'vendor/github.com/zfjagann/golang-ring')
-rw-r--r--vendor/github.com/zfjagann/golang-ring/ring.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/zfjagann/golang-ring/ring.go b/vendor/github.com/zfjagann/golang-ring/ring.go
index 308c97cc..d90db390 100644
--- a/vendor/github.com/zfjagann/golang-ring/ring.go
+++ b/vendor/github.com/zfjagann/golang-ring/ring.go
@@ -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