Unverified Commit 2e7cea6d authored by Tomasz Gucio's avatar Tomasz Gucio Committed by GitHub

Dispose ValueNotifier instances in RenderEditable (#104591)

parent aa1c43bb
......@@ -382,6 +382,8 @@ class RenderEditable extends RenderBox with RelayoutWhenSystemFontsChangeMixin,
_clipRectLayer.layer = null;
_cachedBuiltInForegroundPainters?.dispose();
_cachedBuiltInPainters?.dispose();
_selectionStartInViewport.dispose();
_selectionEndInViewport.dispose();
super.dispose();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment