Null the links when unbinding.

This commit is contained in:
Kevin Schaaf
2017-05-11 16:36:39 -07:00
parent e97a6eb779
commit 4223043748
+1
View File
@@ -2246,6 +2246,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
if (this.__templateInfoLast == templateInfo) {
this.__templateInfoLast = templateInfo.previousTemplateInfo;
}
templateInfo.previousTemplateInfo = templateInfo.nextTemplateInfo = null;
// Remove stamped nodes
let nodes = templateInfo.childNodes;
for (let i=0; i<nodes.length; i++) {