This commit is contained in:
parent
bd069cdf05
commit
2222e280fc
|
@ -232,7 +232,7 @@ func (q *Queue) Remove(identifier Identifier) bool {
|
|||
e.Source.Unlock()
|
||||
|
||||
go audio.NewNullSink().Process(e.Source)
|
||||
slices.Delete(q.queue, i, i+1)
|
||||
q.queue = slices.Delete(q.queue, i, i+1)
|
||||
entry = e
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in a new issue