mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

fdorson
03.11.2008 5fde69a235be87ad20d48f3569eb9d0bc8e9c4e4
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -2248,14 +2248,12 @@
    disabled = true;
    // Stop the listener thread
    if (listenerThread != null)
      listenerThread.shutdown();
    listenerThread.shutdown();
    broker.stop(); // This will cut the session and wake up the listener
    // Wait for the listener thread to stop
    if (listenerThread != null)
      listenerThread.waitForShutdown();
    listenerThread.waitForShutdown();
  }
  /**
@@ -3467,12 +3465,6 @@
                        maxSendQueue, maxSendDelay, window, heartbeatInterval);
    isolationpolicy = configuration.getIsolationPolicy();
    // To be able to stop and restart the broker properly just
    // disable and enable the domain. That way a new session
    // with the new configuration is available.
    this.disable();
    this.enable();
    return new ConfigChangeResult(ResultCode.SUCCESS, false);
  }