flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - use flag to keep cleanup from running twice
Date Tue, 10 Jun 2014 19:58:21 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop f00dba92e -> ddbd01e2a


use flag to keep cleanup from running twice


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/ddbd01e2
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/ddbd01e2
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/ddbd01e2

Branch: refs/heads/develop
Commit: ddbd01e2a904d276f51f3e94e53b6065bdd3d9c5
Parents: f00dba9
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jun 10 12:58:06 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jun 10 12:58:06 2014 -0700

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/ddbd01e2/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index d9724c4..a9d1f66 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -148,6 +148,8 @@ variables are not required because the locations of these pieces are known.
         [Embed(source="properties/en_US.properties",mimeType="application/octet-stream")]
         private var en_US_Properties:Class;
         
+        private var cleanedUp:Boolean;
+        
 		private var _mirrorURLCGI:String;
 		private var _useMirror:Boolean = true;
 		private var _latestVersion:String;
@@ -2186,6 +2188,11 @@ variables are not required because the locations of these pieces are
known.
 		}
 		
 		protected function cleanup(isAbort:Boolean = false, abortInfo:String = ""):void {
+			if (cleanedUp)
+				return;
+				
+			cleanedUp = true;
+			
             CursorManager.removeBusyCursor();
             if (!_viewResourceConstants)
                 selectDefaultLanguageInEmergency();


Mime
View raw message