diff --git a/lib/OpenLayers/Control/TransformFeature.js b/lib/OpenLayers/Control/TransformFeature.js index d3bb90b696..a4f9b245e7 100644 --- a/lib/OpenLayers/Control/TransformFeature.js +++ b/lib/OpenLayers/Control/TransformFeature.js @@ -603,10 +603,16 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, { geom._rotationHandle && geom._rotationHandle.destroy(); geom._rotationHandle = null; } + this.center = null; + this.feature = null; + this.handles = null; + this.rotationHandleSymbolizer = null; + this.rotationHandles = null; this.box.destroy(); this.box = null; this.layer = null; this.dragControl.destroy(); + this.dragControl = null; OpenLayers.Control.prototype.destroy.apply(this, arguments); },