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

Matthew Swift
29.59.2012 905277605ce8651332e1d2eb0752b24c7a739ac8
opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
@@ -3080,20 +3080,20 @@
  {
    synchronized (sessionLock)
    {
      // Stop the listener thread
      if (listenerThread != null)
      {
        listenerThread.shutdown();
      }
      // Stop the broker first in order to prevent the listener from
      // reconnecting - see OPENDJ-457.
      if (broker != null)
      {
        broker.stop();
      }
      // Wait for the listener thread to stop
      // Stop the listener thread
      if (listenerThread != null)
      {
        listenerThread.shutdown();
        listenerThread.waitForShutdown();
        listenerThread = null;
      }
    }
  }