Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322563 - [Compatibility] Part initialization failures prevent disposal from happening
Summary: [Compatibility] Part initialization failures prevent disposal from happening
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M2   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 13:26 EDT by Remy Suen CLA
Modified: 2010-08-16 13:14 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 2010-08-12 13:26:43 EDT
CompatibilityPart needs to guard against initialization failures and still let the part get constructed so that it will get disposed properly. Otherwise, leaks can happen. For example, an editor action bar is leaked during the opening and closing of the SSE editor in bug 318034 which allows the second request to complete successfully.
Comment 1 Remy Suen CLA 2010-08-16 13:14:16 EDT
We should be handling exceptions appropriately now.