0 Replies Latest reply on Nov 30, 2009 2:52 PM by Darrell Loverin

    [svn:fx-3.x] 12301: Clean up lastSystemManager reference when SWFLoader unloads a SWF.

    Darrell Loverin Level 4

      Revision: 12301

      Revision: 12301

      Author:   dloverin@adobe.com

      Date:     2009-11-30 14:52:14 -0800 (Mon, 30 Nov 2009)

      Log Message:

      ***********

      Clean up lastSystemManager reference when SWFLoader unloads a SWF.

       

       

      • When SWFLoader unloads itself null out SystemManager.lastSystemManager reference if the reference is the content it loaded. This will prevent SWFLoader leak reports when simply loading and unloading a swf.

       

       

      • Move the removeInitSystemManagerCompleteListener() code before we unload because the contentLoaderInfo is destroyed by the time we get the unload message.

       

       

      • Add code to prevent double loading.

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-18076

      Reviewer: Alex

      Tests run: checkintests, MarshallPlan, components/SWFLoader

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

          flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as