[
https://issues.apache.org/jira/browse/FLEX-34421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118083#comment-14118083
]
Mihai Chira commented on FLEX-34421:
------------------------------------
Indeed, and disableSpelling() doesn't clear that index of _parentTable, (nor of
parentComp, its alias).
> SpellUI.as has memory leak by keeping pointers to text fields when
> disableSpelling() is called
> ----------------------------------------------------------------------------------------------
>
> Key: FLEX-34421
> URL: https://issues.apache.org/jira/browse/FLEX-34421
> Project: Apache Flex
> Issue Type: Bug
> Components: No Component
> Affects Versions: Squiggly 1.0
> Reporter: Mihai Chira
> Assignee: Mihai Chira
> Priority: Minor
> Labels: squiggly
>
> Both versions of SpellUI.as (from AdobeSpellingUI and AdobeSpellingUIEx)
> store a reference to the "text model" of a component (a TextField or a
> RichEditableText instance) when spell checking is enabled ("_parentTable[txt]
> = comp"), but fail to remove it when spell checking is disabled. This way the
> components are prevented from being garbage collected.
> We should remove these references when spell checking is disabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)