You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/10/10 23:02:31 UTC
git commit: [flex-utilities] [refs/heads/develop] - missed closed
event handler from patch
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 <jm...@apache.org>
Authored: Sat Oct 11 08:02:16 2014 +1100
Committer: Justin Mclean <jm...@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)