Browse Source
Merge branch 'master' into hackfix-rangebase-validatedouble
pull/3285/head^2
Jumar Macato
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
src/Avalonia.Controls/TopLevel.cs
|
|
|
@ -269,6 +269,12 @@ namespace Avalonia.Controls |
|
|
|
/// </summary>
|
|
|
|
protected virtual void HandleClosed() |
|
|
|
{ |
|
|
|
var logicalArgs = new LogicalTreeAttachmentEventArgs(this); |
|
|
|
((ILogical)this).NotifyDetachedFromLogicalTree(logicalArgs); |
|
|
|
|
|
|
|
var visualArgs = new VisualTreeAttachmentEventArgs(this, this); |
|
|
|
OnDetachedFromVisualTreeCore(visualArgs); |
|
|
|
|
|
|
|
(this as IInputRoot).MouseDevice?.TopLevelClosed(this); |
|
|
|
PlatformImpl = null; |
|
|
|
OnClosed(EventArgs.Empty); |
|
|
|
|