Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320968 - PerspectiveSwitcher is leaking an image
Summary: PerspectiveSwitcher is leaking an image
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 4.1 RC1   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 19:36 EDT by Remy Suen CLA
Modified: 2011-05-17 08:29 EDT (History)
0 users

See Also:


Attachments
PerspectiveSwitcher patch v1 (2.52 KB, patch)
2011-05-13 14:40 EDT, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-07-26 19:36:52 EDT
The getOpenPerspectiveImage(Display) returns an Image that is never disposed.
Comment 1 Remy Suen CLA 2011-05-13 14:40:49 EDT
Created attachment 195624 [details]
PerspectiveSwitcher patch v1

Cache the instantiated image so that it can be disposed when the renderer destroys the perspective switcher.
Comment 2 Remy Suen CLA 2011-05-13 14:41:35 EDT
(In reply to comment #1)
> Created attachment 195624 [details]
> PerspectiveSwitcher patch v1

Patch released to CVS HEAD.
Comment 3 Remy Suen CLA 2011-05-17 08:29:11 EDT
Verified by source inspection with I20110516-1455.