You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/06/16 15:03:04 UTC
git commit: [flex-utilities] [refs/heads/develop] - force GC more
often
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 <ah...@apache.org>
Authored: Tue Jun 16 06:02:54 2015 -0700
Committer: Alex Harui <ah...@apache.org>
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)