Skip to content

Commit

Permalink
Remove redundant removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethshackleton committed Jun 21, 2024
1 parent 025afc7 commit 14168cd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ class FastLinkedStringMap<T>(
override fun clear() {
super.clear()
spare = null
head = null
var entry = tail
tail = null
while (entry != null) {
val previous = entry.previous
disposal(entry.unlink().value!!)
Expand Down

0 comments on commit 14168cd

Please sign in to comment.