dojo.forEach(this._plugins,function(p){ p.destroy(); }); this.inherited(arguments); delete this._defaultTool; delete this._plugins;