Fixed set removal process and exclude method
[raphael] / raphael.svg.js
index 612e02b..52c78d4 100644 (file)
@@ -873,6 +873,7 @@ window.Raphael.svg && function (R) {
         if (this.removed) {
             return;
         }
+        this.paper.__set__ && this.paper.__set__.exclude(this);
         eve.unbind("*.*." + this.id);
         R._tear(this, this.paper);
         this.node.parentNode.removeChild(this.node);