Unverified Commit aa1c43bb authored by Tomasz Gucio's avatar Tomasz Gucio Committed by GitHub

Dispose ValueNotifier in EditableTextState (#104590)

parent b05741cb
...@@ -1953,6 +1953,7 @@ class EditableTextState extends State<EditableText> with AutomaticKeepAliveClien ...@@ -1953,6 +1953,7 @@ class EditableTextState extends State<EditableText> with AutomaticKeepAliveClien
WidgetsBinding.instance.removeObserver(this); WidgetsBinding.instance.removeObserver(this);
_clipboardStatus?.removeListener(_onChangedClipboardStatus); _clipboardStatus?.removeListener(_onChangedClipboardStatus);
_clipboardStatus?.dispose(); _clipboardStatus?.dispose();
_cursorVisibilityNotifier.dispose();
super.dispose(); super.dispose();
assert(_batchEditDepth <= 0, 'unfinished batch edits: $_batchEditDepth'); assert(_batchEditDepth <= 0, 'unfinished batch edits: $_batchEditDepth');
} }
......
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