LearnNewsExamplesServices
Frontmatter
id8800
titleAdd async destruction guards to MagicMoveText
stateClosed
labels
bugai
assigneestobiu
createdAtJan 19, 2026, 10:12 AM
updatedAtJan 19, 2026, 10:15 AM
githubUrlhttps://github.com/neomjs/neo/issues/8800
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 19, 2026, 10:15 AM

Add async destruction guards to MagicMoveText

tobiu
tobiu commented on Jan 19, 2026, 10:12 AM

Add if (me.isDestroyed) return; checks after await statements in measureChars, updateChars, and afterSetText to prevent errors if the component is destroyed during animation.

tobiu
tobiu Jan 19, 2026, 10:14 AM

Input from Gemini 3 Pro:

✦ Added if (me.isDestroyed) return; checks after all await statements in async methods (measureChars, updateChars, afterSetText) to prevent errors if the component is destroyed during an animation sequence.