Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353248 - [Compatibility] Disposable services created by the context may not get disposed
Summary: [Compatibility] Disposable services created by the context may not get disposed
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1.1   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 14:57 EDT by Remy Suen CLA
Modified: 2011-07-27 16:21 EDT (History)
0 users

See Also:


Attachments

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