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