Ticket #1346: events_check.patch
| File events_check.patch, 0.5 kB (added by tschaub, 1 year ago) |
|---|
-
lib/OpenLayers/Control.js
old new 165 165 * to prevent memory leaks. 166 166 */ 167 167 destroy: function () { 168 this.events.destroy(); 169 this.events = null; 168 if(this.events) { 169 this.events.destroy(); 170 this.events = null; 171 } 170 172 // eliminate circular references 171 173 if (this.handler) { 172 174 this.handler.destroy();
