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

Bug 311246

Summary: SWTPartRenderer leaks images
Product: [Eclipse Project] e4 Reporter: Bogdan Gheorghe <gheorghe>
Component: UIAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne
Version: unspecified   
Target Milestone: 1.0 RC0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Cache images none

Description Bogdan Gheorghe CLA 2010-04-30 17:34:57 EDT
Much like a sieve, the SWTPartRenderer leaks images with no mercy.
Comment 1 Bogdan Gheorghe CLA 2010-04-30 17:39:00 EDT
Created attachment 166693 [details]
Cache images

This patch gets rid of ImageDescriptors, creates a cache to store images and uses a diposeExec to dispose of the images when the display is disposed.
Comment 2 Bogdan Gheorghe CLA 2010-04-30 17:40:34 EDT
Fixed in HEAD > 20100430
Comment 3 John Arthorne CLA 2010-06-01 17:34:30 EDT
*** Bug 284754 has been marked as a duplicate of this bug. ***