Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 286515
Collapse All | Expand All

(-)js/org/eclipse/swt/widgets/CoolItem.js (+5 lines)
Lines 35-40 Link Here
35
  },
35
  },
36
36
37
  destruct : function() {
37
  destruct : function() {
38
    if( this._control != null ) {
39
      this._control.setParent( this.getParent() );
40
      this._control.setDisplay( false );
41
      this._control = null;
42
    }
38
    if( this._handle != null ) {
43
    if( this._handle != null ) {
39
      this._handle.removeEventListener( "mousedown", this._onHandleMouseDown, this );
44
      this._handle.removeEventListener( "mousedown", this._onHandleMouseDown, this );
40
      this._handle.removeEventListener( "mousemove", this._onHandleMouseMove, this );
45
      this._handle.removeEventListener( "mousemove", this._onHandleMouseMove, this );

Return to bug 286515