Skip to content

Commit

Permalink
Add missing onDispose tie-in
Browse files Browse the repository at this point in the history
  • Loading branch information
Sub6Resources committed May 9, 2023
1 parent 7d6d078 commit a218d77
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/src/html_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ class _HtmlParserState extends State<HtmlParser> {
);
}

@override
void dispose() {
for (var e in widget.extensions) {
e.onDispose();
}
super.dispose();
}

/// Converts the tree of Html nodes into a simplified StyledElement tree
void lexHtmlTree() {
tree = StyledElement(
Expand Down

0 comments on commit a218d77

Please sign in to comment.