Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 392801

Summary: [Table] Cell editor control is not disposed when Table is disposed
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-10-25 04:07:33 EDT
This test case succeed in SWT but not in RAP:
public void testDisposeCellEditor() {
  Table table = new Table( shell, SWT.NONE );
  Text cellEditor = new Text( table, SWT.NONE );

  table.dispose();

  assertTrue( cellEditor.isDisposed() );
}
In Tree it's working fine.
Comment 1 Ivan Furnadjiev CLA 2012-10-25 04:11:36 EDT
Fixed with commit c4131d58f4e7660d73137b729f5d50f255a7184f. The call to super.releaseChildren() was missing from Table#releaseChildren.