Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311246 - SWTPartRenderer leaks images
Summary: SWTPartRenderer leaks images
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0 RC0   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 284754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-30 17:34 EDT by Bogdan Gheorghe CLA
Modified: 2010-06-04 16:29 EDT (History)
1 user (show)

See Also:


Attachments
Cache images (3.26 KB, patch)
2010-04-30 17:39 EDT, Bogdan Gheorghe CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***