Ticket #1404: null.patch
| File null.patch, 1.1 kB (added by tschaub, 10 months ago) |
|---|
-
lib/OpenLayers/Map.js
old new 545 545 } 546 546 this.viewPortDiv = null; 547 547 548 this.eventListeners = null; 548 549 this.events.destroy(); 549 550 this.events = null; 550 551 -
lib/OpenLayers/Control.js
old new 177 177 * to prevent memory leaks. 178 178 */ 179 179 destroy: function () { 180 this.eventListeners = null; 180 181 if(this.events) { 181 182 this.events.destroy(); 182 183 this.events = null; -
lib/OpenLayers/Layer.js
old new 314 314 this.div = null; 315 315 this.options = null; 316 316 317 this.eventListeners = null; 317 318 if (this.events) { 318 319 this.events.destroy(); 319 320 }
