Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-08-28 01:39:43 -0400
committerEike Stepper2013-08-28 01:39:43 -0400
commit0bd2adcc130fa206a6b55edf7cea105bbe4c4d52 (patch)
tree36a6563571ace60d5d4c5489f96df498dd5c4236
parent4685163fce6e4cd48db91bc3353342d88253ae0b (diff)
downloadcdo-0bd2adcc130fa206a6b55edf7cea105bbe4c4d52.tar.gz
cdo-0bd2adcc130fa206a6b55edf7cea105bbe4c4d52.tar.xz
cdo-0bd2adcc130fa206a6b55edf7cea105bbe4c4d52.zip
[416004] CommitNotificationRequest aborted for entire Session if a
single View is closed https://bugs.eclipse.org/bugs/show_bug.cgi?id=416004
-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