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

Bug 327602

Summary: [context] Parent context retains reference to disposed children
Product: z_Archived Reporter: Oleg Besedin <ob1.eclipse>
Component: E4Assignee: Project Inbox <e4.runtime-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ob1.eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch none

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.