Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34742

flatspark textinput prevents it from being collected by gc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.14.0
    • None
    • FlatSpark
    • None
    • windows 7

    Description

      flatspark textinput prevents it from being collected by gc

      play:

      • Add textinput with skin flatspark
      • Remove
      • You can see in the profiler that has not been removed

      solution :

      remove

      <fx:Style>
      @namespace s "library://ns.adobe.com/flex/spark";
      @namespace fb "http://ns.adobe.com/flashbuilder/2009";
      @namespace spark "spark.skins.spark.*";

      *

      { /*focusColor: #FFFFFF; focusThickness: 1px; focusAlpha: 1;*/ /*focusAlpha: 0;*/ errorColor: #E74C3C; }

      </fx:Style>

      remove bind hostcomponent

      example : getFontSize(hostComponent.height)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rodrigoWalter rodrigo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: