Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327602 - [context] Parent context retains reference to disposed children
Summary: [context] Parent context retains reference to disposed children
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: E4 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 14:58 EDT by Oleg Besedin CLA
Modified: 2012-12-13 15:00 EST (History)
1 user (show)

See Also:


Attachments
Patch (2.55 KB, patch)
2010-10-12 14:58 EDT, Oleg Besedin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2010-10-12 14:58:31 EDT
Created attachment 180705 [details]
Patch

Currently parent context retains reference to disposed children. Reference are wrapped into WeakReference class so this does not create a leak by itself, but still better to keep it clean.
Comment 1 Oleg Besedin CLA 2010-10-12 14:59:27 EDT
Patch applied to CVS Head.
Comment 2 Oleg Besedin CLA 2010-10-27 15:35:35 EDT
Verified that JUnit testDisposeRemovesParentReference() passed in I20101027-0214.