Example #1
0
        public void Stop()
        {
            LogTo.Info("Stopping media proxy server");
            IsRunning = false;
            ServerThread?.Join();

            try
            {
                Http.Stop();
                Http.ClearPrefixes();
            }
            catch (Exception ex)
            {
                LogTo.WarnException("Error while shutting down http listener", ex);
            }
        }