diff options
Diffstat (limited to 'vendor/github.com/zfjagann')
-rw-r--r-- | vendor/github.com/zfjagann/golang-ring/ring.go | 1 |
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 |