summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-08 07:38:03 (EDT)
committerEike Stepper2007-08-08 07:38:03 (EDT)
commit1ca9054011421c5026d90ee4e784698854b8e7fc (patch)
treea9f08be79430b1449e3268d897c5cabf2e6a2d92
parentaef670d382c3f27a7630337d861beaf6715bd9c1 (diff)
downloadcdo-1ca9054011421c5026d90ee4e784698854b8e7fc.zip
cdo-1ca9054011421c5026d90ee4e784698854b8e7fc.tar.gz
cdo-1ca9054011421c5026d90ee4e784698854b8e7fc.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java
index 97fe1d4..e54d24f 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java
@@ -123,7 +123,10 @@ public class CDOCallbackImpl extends CDOAdapterImpl implements CDOCallback
private void notifyRemove(InternalEObject instance)
{
- InternalCDOObject object = FSMUtil.adapt(instance, view);
- CDOStateMachine.INSTANCE.detach(object, cdoResource(), view);
+ if (instance.eDeliver())
+ {
+ InternalCDOObject object = FSMUtil.adapt(instance, view);
+ CDOStateMachine.INSTANCE.detach(object, cdoResource(), view);
+ }
}
}