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

Bug 281852

Summary: AbstractUIPlugin leaks display instance
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: irbull
Version: 1.2   
Target Milestone: 1.3 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Benjamin Muskalla CLA 2009-06-29 09:39:40 EDT
AbstractUIPlugin#getImageRegistry creates a new ImageRegistry on demand. The ImageRegistry instance is saved as field of the Activator. As the activator is only available once it always has a reference to the first session accessing the ImageRegistry.
Comment 1 Benjamin Muskalla CLA 2009-09-15 05:04:41 EDT
Created attachment 147167 [details]
patch

.
Comment 2 Benjamin Muskalla CLA 2009-09-15 05:05:50 EDT
Applied patch to CVS HEAD.