Index: /trunk/FACT++/src/StateMachineDim.h
===================================================================
--- /trunk/FACT++/src/StateMachineDim.h	(revision 16536)
+++ /trunk/FACT++/src/StateMachineDim.h	(revision 16537)
@@ -32,9 +32,11 @@
 class DimStart : public DimErrorRedirecter
 {
+    const bool fIsValidServer;
+
 protected:
-    DimStart(const std::string &name, MessageImp &imp) : DimErrorRedirecter(imp)
+    DimStart(const std::string &name, MessageImp &imp) : DimErrorRedirecter(imp), fIsValidServer(!name.empty())
     {
         DimClient::setNoDataCopy();
-        if (!name.empty())
+        if (fIsValidServer)
         {
             DimServer::start(name.c_str());
@@ -47,4 +49,7 @@
     ~DimStart()
     {
+        if (!fIsValidServer)
+            return;
+
         // Give some time for pending log messages to be
         // transmitted before the network is stopped
