Unverified Commit 87938cec authored by Polina Cherkasova's avatar Polina Cherkasova Committed by GitHub

Dispose _TextSpanEditingController. (#108228)

parent 527ee1d7
...@@ -509,7 +509,7 @@ class _SelectableTextState extends State<SelectableText> implements TextSelectio ...@@ -509,7 +509,7 @@ class _SelectableTextState extends State<SelectableText> implements TextSelectio
@override @override
void dispose() { void dispose() {
_focusNode?.dispose(); _focusNode?.dispose();
_controller.removeListener(_onControllerChanged); _controller.dispose();
super.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