Skip to content

Commit

Permalink
get rid of redundant nilling
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Nov 18, 2023
1 parent 39fdeb3 commit b0ef58c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion widget/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,6 @@ func (l *listLayout) updateList(newOnly bool) {
for _, wasVis := range l.wasVisible {
if _, ok := l.searchVisible(l.visible, wasVis.id); !ok {
l.itemPool.Release(wasVis.item)
wasVis.item = nil
}
}

Expand Down

0 comments on commit b0ef58c

Please sign in to comment.