BzReader.WebServer.Stop C# (CSharp) Method

Stop() public method

Stops this instance.
public Stop ( ) : void
return void
        public void Stop()
        {
            listener.Stop();

            lock (this)
            {
                foreach (Thread t in threads)
                {
                    if (t.IsAlive)
                    {
                        t.Abort();
                    }
                }
            }
        }