0 Replies Latest reply on Dec 21, 2009 10:43 AM by Darrell Loverin

    [svn:fx-3.x] 13120: Fix to prevent a module leak when accessibility is turned on.

    Darrell Loverin Level 4

      Revision: 13120

      Revision: 13120

      Author:   dloverin@adobe.com

      Date:     2009-12-21 10:42:54 -0800 (Mon, 21 Dec 2009)

      Log Message:

      ***********

      Fix to prevent a module leak when accessibility is turned on.

       

      Soft-link to the following in mx.accessibility.AccImp:

       

      mx.containers.Form;

      mx.containers.FormHeading;

      mx.containers.FormItem;

      mx.controls.Label;

      mx.core.Container;

       

      and will soft-link to the following in mx.accessibility.UIComponentAccProps:

       

      mx.controls.FormItemLabel;

      mx.controls.scrollClasses.ScrollBar;

       

       

      These changes will keep the classes from being drawn into memory when they are not being used in the application.

       

      This fix stops the module leak because the module's application domain will contain both mx.controls.Button and mx.accessibility.ButtonAccImpl. Since both are in the same application domain the module is free to be garbage collected.

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-24572

      Reviewer: Alex

      Tests run: checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-24572

       

      Modified Paths:

      **************

          flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccImpl.as

          flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/UIComponentAccPr ops.as