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 2017/06/05 03:19:42 UTC

[2/3] git commit: [flex-asjs] [refs/heads/develop] - set strand to null when removing bead - do this so beads can cleanly remove themselves

set strand to null when removing bead - do this so beads can cleanly remove themselves


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

Branch: refs/heads/develop
Commit: 385655aa137456614c7b70d295f84f50046af64b
Parents: 66773df
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Jun 5 13:16:36 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Jun 5 13:16:36 2017 +1000

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/385655aa/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
index d67686e..30a67bb 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/HTMLElementWrapper.as
@@ -208,7 +208,7 @@ package org.apache.flex.core
 				if (bead === value)
 				{
 					_beads.splice(i, 1);
-
+                    bead.strand = null;
 					return bead;
 				}
 			}