Skip to content

Commit

Permalink
Fix clear method in ItemEntityList
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed May 9, 2024
1 parent a279edb commit c87e1f8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ public boolean containsAll(@NotNull Collection<?> c) {

@Override
public void clear() {
for (ItemEntity element : this.delegate) {
this.unsubscribeElement(element);
}
this.delegate.clear();

this.tempUncategorizedElements.clear();
Expand Down

0 comments on commit c87e1f8

Please sign in to comment.