Commit 348e14ae authored by Honfika's avatar Honfika

race condition fix, #424

parent c2f86254
...@@ -509,17 +509,17 @@ namespace Titanium.Web.Proxy ...@@ -509,17 +509,17 @@ namespace Titanium.Web.Proxy
ProxyRunning = true; ProxyRunning = true;
foreach (var endPoint in ProxyEndPoints)
{
Listen(endPoint);
}
CertificateManager.ClearIdleCertificates(); CertificateManager.ClearIdleCertificates();
if (RunTime.IsWindows && !RunTime.IsRunningOnMono) if (RunTime.IsWindows && !RunTime.IsRunningOnMono)
{ {
WinAuthEndPoint.ClearIdleStates(2); WinAuthEndPoint.ClearIdleStates(2);
} }
foreach (var endPoint in ProxyEndPoints)
{
Listen(endPoint);
}
} }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment