Repository: flex-utilities
Updated Branches:
  refs/heads/develop a9777d36f -> ce6849c3c


force GC more often


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

Branch: refs/heads/develop
Commit: ce6849c3c814c192fa05b275c78edb7df93f9449
Parents: a9777d3
Author: Alex Harui <[email protected]>
Authored: Tue Jun 16 06:02:54 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Tue Jun 16 06:02:54 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/ce6849c3/flex-installer/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/flex-installer/installer/src/InstallApacheFlex.mxml 
b/flex-installer/installer/src/InstallApacheFlex.mxml
index 055e44f..8a21f1e 100644
--- a/flex-installer/installer/src/InstallApacheFlex.mxml
+++ b/flex-installer/installer/src/InstallApacheFlex.mxml
@@ -3574,6 +3574,18 @@ variables are not required because the locations of 
these pieces are known.
 
         protected function updateActivityStep(stepLabel:String, 
status:String):void
         {
+            // try forcing GC before each step
+            try {
+                var lc1:LocalConnection = new LocalConnection();
+                var lc2:LocalConnection = new LocalConnection();
+                
+                lc1.connect("name");
+                lc2.connect("name");
+            }
+            catch (error:Error)
+            {
+            }
+            
             var step:StepItem = getStepItemFromStepLabel(stepLabel);
 
             if (step)

Reply via email to