Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360518 - EMF adapters leak on EPackages
Summary: EMF adapters leak on EPackages
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 05:03 EDT by Eike Stepper CLA
Modified: 2012-09-21 06:52 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 Eike Stepper CLA 2011-10-11 05:03:15 EDT
Cloned from: 360514: EMF adapters leak on EPackages
https://bugs.eclipse.org/bugs/show_bug.cgi?id=360514

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:30:55 EDT
Committed revision 9474:
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo.net4j
Comment 2 Eike Stepper CLA 2011-10-11 05:31:07 EDT
Fixed
Comment 3 Eike Stepper CLA 2012-09-21 06:52:02 EDT
Closing.