Example #1
0
 public void Stop()
 {
     if (stopped)
     {
         return;
     }
     stopped = true;
     if (_listener != null)
     {
         _listener.Stop();
     }
     StopPlugins();
     if (privoxyRunner != null)
     {
         privoxyRunner.Stop();
     }
     if (_config.enabled)
     {
         SystemProxy.Update(_config, true, null);
     }
     Encryption.RNG.Close();
 }
Example #2
0
 private void UpdateSystemProxy()
 {
     SystemProxy.Update(_config, false, _pacServer);
 }