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
parent
commit
d4fb124eaf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/ToolTip.cs

2
src/Avalonia.Controls/ToolTip.cs

@ -246,7 +246,7 @@ namespace Avalonia.Controls
if (_popup != null) if (_popup != null)
{ {
_popup.SetChild(null); _popup.SetChild(null);
_popup.Hide(); _popup.Dispose();
_popup = null; _popup = null;
} }
} }

Loading…
Cancel
Save