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

Bug 353248

Summary: [Compatibility] Disposable services created by the context may not get disposed
Product: [Eclipse Project] Platform Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3    
Version: 4.1   
Target Milestone: 4.1.1   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2011-07-27 14:57:14 EDT
We have services that implement the IDisposable interface that are not getting disposed. If such services are created by the context then they do not get disposed because the context doesn't know about the IDisposable interface. When services are retrieved from the service locator and delegated to the context, we should store the returned service in the service locator so that the service gets disposed when the service locator gets disposed.
Comment 1 Remy Suen CLA 2011-07-27 16:21:15 EDT
Fix pushed to R4_development.