Habanero.Base.HabaneroBackgroundWorker.WaitForBackgroundWorkerToComplete C# (CSharp) Method

WaitForBackgroundWorkerToComplete() public method

Waits for the thread to end.
public WaitForBackgroundWorkerToComplete ( ) : void
return void
        public void WaitForBackgroundWorkerToComplete()
        {
            if (this._thread == null)
                return;
            if (this._thread.IsAlive)
                this._thread.Join();
        }