pull/5891/head
2dust 1 month ago
parent 50bdf0927c
commit 1e7284f141

@ -77,8 +77,9 @@ public class PacHandler
stream.Flush();
});
}
catch (Exception e)
catch
{
// ignored
}
}
}, TaskCreationOptions.LongRunning);
@ -86,17 +87,16 @@ public class PacHandler
public static void Stop()
{
if (_tcpListener != null)
{
if (_tcpListener == null) return;
try
{
_isRunning = false;
_tcpListener.Stop();
_tcpListener = null;
}
catch (Exception e)
catch
{
}
// ignored
}
}
}

@ -503,6 +503,11 @@ namespace ServiceLib.Services
}
}
var path = Utils.GetBinPath("srss");
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
foreach (var item in geoipFiles.Distinct())
{
await UpdateSrsFile("geoip", item, config, updateFunc);

Loading…
Cancel
Save