BlueCollar.Worker.KillRunThread C# (CSharp) Method

KillRunThread() private method

private KillRunThread ( ) : void
return void
        private void KillRunThread()
        {
            try
            {
                if (this.runThread != null && this.runThread.IsAlive)
                {
                    this.runThread.Abort();
                    this.runThread = null;
                }
            }
            catch (Exception ex)
            {
                this.logger.Error(ex);
            }
        }