Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2020-03-29 13:10:41 +0000
committerEike Stepper2020-03-29 13:10:41 +0000
commit8e538df3de586154012fa4392ea13bbf6645870e (patch)
treefe25feb94a161acc8a4eb70861c86050129ca5b5
parent60308125e4705cddea6010f4a58165dfe4ed0491 (diff)
downloadcdo-8e538df3de586154012fa4392ea13bbf6645870e.tar.gz
cdo-8e538df3de586154012fa4392ea13bbf6645870e.tar.xz
cdo-8e538df3de586154012fa4392ea13bbf6645870e.zip
[561115] Implement a Websocket-based transport for Net4j
https://bugs.eclipse.org/bugs/show_bug.cgi?id=561115
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java
index 6824b30b46..04c4f7c886 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/SessionConfig.java
@@ -803,9 +803,12 @@ public abstract class SessionConfig extends Config implements ISessionConfig
{
super.mainSuiteFinished();
- System.out.println("Stopping Jetty...");
- server.stop();
- server = null;
+ if (server != null)
+ {
+ System.out.println("Stopping Jetty...");
+ server.stop();
+ server = null;
+ }
}
@Override

Back to the top