Changeset 6230
- Timestamp:
- 02/12/08 11:43:47 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Control.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control.js
r6172 r6230 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) {
