Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-04-20 15:06:01 +0000
committerEike Stepper2010-04-20 15:06:01 +0000
commit009b30e867369e32ad43fa4fbf3294016320b794 (patch)
treebe39b9e7ab9b7835619dea4508f9b16b233956be /plugins
parent3a5b2e626851784fec41a89a0c805b640d01ee39 (diff)
downloadcdo-009b30e867369e32ad43fa4fbf3294016320b794.tar.gz
cdo-009b30e867369e32ad43fa4fbf3294016320b794.tar.xz
cdo-009b30e867369e32ad43fa4fbf3294016320b794.zip
[256936] Support for Offline Mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256936
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java
index 29d26140f7..83710bc61e 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java
@@ -1792,7 +1792,10 @@ public class CDOViewImpl extends Lifecycle implements InternalCDOView
try
{
CDOSessionProtocol sessionProtocol = session.getSessionProtocol();
- sessionProtocol.closeView(viewID);
+ if (LifecycleUtil.isActive(sessionProtocol))
+ {
+ sessionProtocol.closeView(viewID);
+ }
}
catch (Exception ex)
{

Back to the top