From b5332016c5b393a14be49c7620774f7212be2af4 Mon Sep 17 00:00:00 2001
From: terry-norbraten <tnorb@comcast.net>
Date: Fri, 26 Jun 2020 17:02:28 -0600
Subject: [PATCH] sleep not required here

---
 src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java b/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java
index a610b9f884..c4df2f3639 100644
--- a/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java
+++ b/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java
@@ -109,7 +109,6 @@ public class PduRecorder implements PduReceiver
     disThreadedNetIF.addRawListener(bAndL -> {
         receivePdu(bAndL.buff, bAndL.length);
     });
-    sleep(250L); // need time for the send/receive threads to start
     System.out.println(getClass() + " listening to IP address " + mcastaddr + " on port: " + port);
   }
   
@@ -309,11 +308,4 @@ public class PduRecorder implements PduReceiver
 
     recorder.end();
   }
-
-  private static void sleep(long ms)
-  {
-    try{
-        Thread.sleep(ms);}
-    catch(InterruptedException ex) {}
-  }
 }
-- 
GitLab