You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2014/07/17 17:31:07 UTC

[jira] [Created] (FLEX-34421) SpellUI.as has memory leak by keeping pointers to text fields when disableSpelling() is called

Mihai Chira created FLEX-34421:
----------------------------------

             Summary: 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
            Reporter: Mihai Chira
            Assignee: Mihai Chira
            Priority: Minor


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.2#6252)