Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/View.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/View.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/View.java
index 8d25ded65b..0299532a16 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/View.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/View.java
@@ -205,7 +205,11 @@ public class View extends Lifecycle implements InternalView, CDOCommonView.Optio
*/
public synchronized boolean hasSubscription(CDOID id)
{
- checkOpen();
+ if (isClosed())
+ {
+ return false;
+ }
+
return changeSubscriptionIDs.contains(id);
}

Back to the top