Skip to content

Commit

Permalink
Merge pull request #18 from prozolic/pullreq
Browse files Browse the repository at this point in the history
Remove unnecessary processing of ObservableList.Clear
  • Loading branch information
neuecc authored Feb 15, 2024
2 parents bcf250c + ab077eb commit 9c1ee7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ObservableCollections/ObservableList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ public void AddRange(ReadOnlySpan<T> items)

public void Clear()
{
var l = new List<int>();
lock (SyncRoot)
{
list.Clear();
Expand Down

0 comments on commit 9c1ee7b

Please sign in to comment.