flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - missed closed event handler from patch
Date Fri, 10 Oct 2014 21:02:31 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 020e07952 -> 859ca1d65


missed closed event handler from patch


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

Branch: refs/heads/develop
Commit: 859ca1d651dc628257a3b707e56603bbe9117028
Parents: 020e079
Author: Justin Mclean <jmclean@apache.org>
Authored: Sat Oct 11 08:02:16 2014 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sat Oct 11 08:02:16 2014 +1100

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


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/859ca1d6/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index a475d15..83e61ad 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -395,7 +395,8 @@ variables are not required because the locations of these pieces are known.
 		protected function handleApplicationComplete(event:FlexEvent):void {
             CursorManager.setBusyCursor();
 			loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorHandler);
-            updateWindow();
+            addEventListener(Event.CLOSING, closeApplication);
+			updateWindow();
 			var hasInternet:Boolean = false;
 			var networkAdapters:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
 			for each (var networkAdapter:NetworkInterface in networkAdapters)


Mime
View raw message