AsterixDisplayAnalyser.AsterixReplay.LANReplay.StopThread C# (CSharp) Method

StopThread() private static method

private static StopThread ( ) : void
return void
            private static void StopThread()
            {
                if (ReplayThread != null)
                {
                    RequestStop = true;
                    Thread.Sleep(200);
                    if (ReplayThread.IsAlive == true)
                    {
                        Cleanup();
                        ReplayThread.Abort();
                    }
                }
            }