0 Replies Latest reply on Jun 26, 2009 11:35 AM by Darrell Loverin

    [svn:fx-trunk] 8320: Fix the problem where the WindowedApplication was not shutting down after closing Windows .

    Darrell Loverin Level 4

      Revision: 8320

      Author:   dloverin@adobe.com

      Date:     2009-06-26 11:34:59 -0700 (Fri, 26 Jun 2009)

       

      Log Message:

      ***********

      Fix the problem where the WindowedApplication was not shutting down after closing Windows.

       

      The problem ended up being the Window class was creating a new NativeWindow (and WindowedSystemManager) in commitProperties() before closing down. The problem is easily fixed by setting flagForOpen to false so the code will not come down this path after _nativeWindow is set to null in the close() method.

       

      QE Notes: none.

      Doc Notes: none.

      Bugs: SDK-21529

      Reviewer: Glenn

      tests: checkintests

       

      Ticket Links:

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as