Frontmatter
| id | 8800 |
| title | Add async destruction guards to MagicMoveText |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Jan 19, 2026, 10:12 AM |
| updatedAt | Jan 19, 2026, 10:15 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8800 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 19, 2026, 10:15 AM |
Add async destruction guards to MagicMoveText
tobiu assigned to @tobiu on Jan 19, 2026, 10:12 AM

tobiu
Jan 19, 2026, 10:14 AM
Input from Gemini 3 Pro:
✦ Added
if (me.isDestroyed) return;checks after allawaitstatements in async methods (measureChars,updateChars,afterSetText) to prevent errors if the component is destroyed during an animation sequence.
tobiu closed this issue on Jan 19, 2026, 10:15 AM
Add
if (me.isDestroyed) return;checks afterawaitstatements inmeasureChars,updateChars, andafterSetTextto prevent errors if the component is destroyed during animation.