rem: for(var i=0; i< this.layers.length; i++) { this.layers[i].destroy(); } this.layers = null; for(var i=0; i< this.controls.length; i++) { this.controls[i].destroy(); } this.controls = null; 
add: if (this.layers != null) { for(var i=0; i< this.layers.length; i++) { this.layers[i].destroy(); } this.layers = null; } if (this.controls != null) { for(var i=0; i< this.controls.length; i++) { this.controls[i].destroy(); } this.controls = null; } 
context:     destroy:function() {        for(var i=0; i< this.layers.length; i++) {            this.layers[i].destroy();        }         this.layers = null;        for(var i=0; i< this.controls.length; i++) {            this.controls[i].destroy();        }         this.controls = null;    },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/cfb1b472a7f2f66b997a8ba55d05560047711099/Map.js/clean/lib/OpenLayers/Map.js