Merge pull request #18 from prozolic/pullreq

Remove unnecessary processing of ObservableList.Clear
This commit is contained in:
Yoshifumi Kawai 2024-02-15 10:40:39 +09:00 committed by GitHub
commit 9c1ee7b991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,6 @@ namespace ObservableCollections
public void Clear()
{
var l = new List<int>();
lock (SyncRoot)
{
list.Clear();