Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit cabab17

Browse files
author
Yuncong Zhang
committed
Avoid releasing paragraph in detach.
1 parent c33c6dd commit cabab17

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Runtime/rendering/paragraph.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,6 @@ public override void detach() {
327327
if (this._hoverAnnotation != null) {
328328
RendererBinding.instance.mouseTracker.detachAnnotation(this._hoverAnnotation);
329329
}
330-
331-
this._textPainter?.releaseParagraph();
332330
}
333331

334332
TextSelection _selection;

0 commit comments

Comments
 (0)