Index: sky/framework/fn.dart |
diff --git a/sky/framework/fn.dart b/sky/framework/fn.dart |
index 06853293f72cf3e96ffc5fc26815178110e96386..73d13547325c5c22dcfff870c8632e187183c7f4 100644 |
--- a/sky/framework/fn.dart |
+++ b/sky/framework/fn.dart |
@@ -258,6 +258,9 @@ abstract class Element extends Node { |
return false; |
} |
+ if (this == oldElement) |
+ return false; |
+ |
_root = oldElement._root; |
oldElement._root = null; |
sky.Element root = (_root as sky.Element); |