Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d555cb

Browse files
author
Arthur
committed
correct hoverboxes releasing fix
1 parent 821787a commit 4d555cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/HtmlRenderer/Core/HtmlContainerInt.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,6 @@ public void SetHtml(string htmlSource, CssData baseCssData = null)
443443
/// </summary>
444444
public void Clear()
445445
{
446-
_hoverBoxes.Clear();
447-
448446
if (_root != null)
449447
{
450448
_root.Dispose();
@@ -457,6 +455,8 @@ public void Clear()
457455
if (_imageDownloader != null)
458456
_imageDownloader.Dispose();
459457
_imageDownloader = null;
458+
459+
_hoverBoxes = null;
460460
}
461461
}
462462

0 commit comments

Comments
 (0)