Browse Source
Fix leak in the InternalSelectionModel
pull/8420/head
Tako
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Selection/InternalSelectionModel.cs
|
|
|
@ -168,7 +168,7 @@ namespace Avalonia.Controls.Selection |
|
|
|
{ |
|
|
|
if (_writableSelectedItems is INotifyCollectionChanged incc) |
|
|
|
{ |
|
|
|
incc.CollectionChanged += OnSelectedItemsCollectionChanged; |
|
|
|
incc.CollectionChanged -= OnSelectedItemsCollectionChanged; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|