Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/Avalonia.Base/AvaloniaObject.cs
|
|
|
@ -935,7 +935,8 @@ namespace Avalonia |
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
{ |
|
|
|
_subscription.Dispose(); |
|
|
|
// _subscription can be null, if Subscribe failed with an exception.
|
|
|
|
_subscription?.Dispose(); |
|
|
|
_owner._directBindings!.Remove(this); |
|
|
|
} |
|
|
|
|
|
|
|
|