in indigo.js [40:47]
IndigoObject.prototype.dispose = function() {
if (this.id >= 0)
if (this.d._sid >= 0 && this.d._lib != null) {
this.d._setSessionId();
this.d._lib.indigoFree(this.id);
}
this.id = -1;
};