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

Skip to content

Commit 2d9129b

Browse files
author
Arthur
committed
Merge pull request ArthurHub#17 from steck/v1.5
Fix of memory leak with Hover boxes inside HtmlContainerInt.
2 parents d599642 + a9f5d78 commit 2d9129b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/HtmlRenderer/Core/HtmlContainerInt.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,8 @@ public void SetHtml(string htmlSource, CssData baseCssData = null)
425425
/// </summary>
426426
public void Clear()
427427
{
428+
_hoverBoxes.Clear();
429+
428430
if (_root != null)
429431
{
430432
_root.Dispose();

0 commit comments

Comments
 (0)