Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 139746 Details for
Bug 281070
[List] Removed ListItems are not disposed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
patch solving the bug
ListItem.txt (text/plain), 961 bytes, created by
Tim Buschtoens
on 2009-06-22 09:14:36 EDT
(
hide
)
Description:
patch solving the bug
Filename:
MIME Type:
Creator:
Tim Buschtoens
Created:
2009-06-22 09:14:36 EDT
Size:
961 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/swt/widgets/List.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/List.js,v >retrieving revision 1.7 >diff -u -r1.7 List.js >--- js/org/eclipse/swt/widgets/List.js 11 May 2009 11:15:46 -0000 1.7 >+++ js/org/eclipse/swt/widgets/List.js 22 Jun 2009 10:20:39 -0000 >@@ -84,9 +84,13 @@ > this.add( item ); > } > } >+ var child = null; > while( this.getChildrenLength() > items.length ) { >- this.removeAt( this.getChildrenLength() - 1 ); >+ child = this.getLastChild(); >+ this.remove( child ); >+ child.dispose(); > } >+ delete child; > // restore previous selection and focusItem > manager.setSelectedItems( oldSelection ); > manager.setLeadItem( oldLeadItem );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 281070
: 139746