12 Replies Latest reply on Sep 23, 2010 12:11 PM by tehxike1

    Garbage Collection problem- UIComponentAccProps?

    tehxike1 Level 1

      I can't figure out why a custom component isn't being GC'ed.

       

      It has 5 paths to the GC Root:

      > Skin > Group > UIComponentAccProps

      > Parent > UIComponentAccProps

      > UIComponentAccProps

      > Skin > ProgrammaticToggleButton > ToggleButtonAccImpl

      > Skin > Child > UIComponentAccProps

       

      The ProgrammaticToggleButton is extremely simple, so I don't think it's causing the problem:

       

      public class ProgrammaticToggleButton extends ToggleButton

      {

           public function ProgrammaticToggleButton()

           {

                super();

           }

       

           override protected function buttonReleased():void

           {

                //do nothing

           }

      }

       

      Any ideas?  This is driving me nuts.

       

      Cheers