Browse Source
Merge pull request #8420 from AvaloniaUI/Takoooooo-patch-1
Fix leak in the InternalSelectionModel
pull/8421/head
Steven Kirk
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; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|