Browse Source
Merge pull request #4016 from aguahombre/fixes/2822-tooltip
Fix tooltip memory leak
pull/4017/head
Jumar Macato
6 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/ToolTip.cs
|
|
|
@ -246,7 +246,7 @@ namespace Avalonia.Controls |
|
|
|
if (_popup != null) |
|
|
|
{ |
|
|
|
_popup.SetChild(null); |
|
|
|
_popup.Hide(); |
|
|
|
_popup.Dispose(); |
|
|
|
_popup = null; |
|
|
|
} |
|
|
|
} |
|
|
|
|