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

Bug 360514

Summary: EMF adapters leak on EPackages
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch v1 none

Description Eike Stepper CLA 2011-10-11 04:34:05 EDT
Two different bugs cause lots of CDOPackageInfo instances (adapters) staying attached to generated EPackages:

a) CDONet4jSessionImpl.doActivate() attaches duplicate adapters to system packages (Ecore, Eresource).
b) CDONet4jSessionImpl.doDeactivate() does not deactivate packageRegistry, branchManager and revisionManager
Comment 1 Eike Stepper CLA 2011-10-11 05:02:52 EDT
Created attachment 204932 [details]
Patch v1
Comment 2 Eike Stepper CLA 2011-10-11 05:03:40 EDT
Committed revision 9472:
- trunk/plugins/org.eclipse.emf.cdo.net4j
Comment 3 Eike Stepper CLA 2011-10-11 05:03:56 EDT
Fixed.

Backport via bug 360518.
Comment 4 Eike Stepper CLA 2012-09-21 07:17:01 EDT
Closing.