if an error occurred when there is no active step, you can't close the app

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

Branch: refs/heads/develop
Commit: f88a773bbafa2813114b8bd046cc4348d0512304
Parents: c23ac00
Author: Alex Harui <aha...@apache.org>
Authored: Tue Jul 7 14:59:26 2015 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Wed Jul 8 05:49:28 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/f88a773b/flex-installer/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/flex-installer/installer/src/InstallApacheFlex.mxml 
b/flex-installer/installer/src/InstallApacheFlex.mxml
index a53edaa..7dc5b13 100644
--- a/flex-installer/installer/src/InstallApacheFlex.mxml
+++ b/flex-installer/installer/src/InstallApacheFlex.mxml
@@ -3509,7 +3509,7 @@ variables are not required because the locations of these 
pieces are known.
         {
             removeEventListener(Event.CLOSING, closeApplication);
 
-            if (currentState == "installState")
+            if (currentState == "installState" && !wasAborted)
             {
                 if (currentStep < stepLabels.length)
                 {

Reply via email to