mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-16 14:22:08 +08:00
1.1.3 -> 1.1.4 第41次更新
This commit is contained in:
parent
66230df9a5
commit
4009e8ce63
@ -9,5 +9,5 @@ internal class NginxProc : Proc
|
|||||||
{
|
{
|
||||||
internal NginxProc() : base(MainConst.NginxPath) { }
|
internal NginxProc() : base(MainConst.NginxPath) { }
|
||||||
|
|
||||||
public override void Process_Exited(object sender, EventArgs e) => GlobalCealCleaner.Clean();
|
public override void Process_Exited(object sender, EventArgs e) => NginxStoppedCleaner.Clean();
|
||||||
}
|
}
|
@ -4,7 +4,7 @@ using Sheas_Cealer.Consts;
|
|||||||
|
|
||||||
namespace Sheas_Cealer.Utils
|
namespace Sheas_Cealer.Utils
|
||||||
{
|
{
|
||||||
internal static class GlobalCealCleaner
|
internal static class NginxStoppedCleaner
|
||||||
{
|
{
|
||||||
private static bool IsCleaning = false;
|
private static bool IsCleaning = false;
|
||||||
|
|
@ -293,7 +293,7 @@ public partial class MainWin : Window
|
|||||||
await nginxProcess.WaitForExitAsync();
|
await nginxProcess.WaitForExitAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
GlobalCealCleaner.Clean();
|
NginxStoppedCleaner.Clean();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void MihomoButton_Click(object sender, RoutedEventArgs e)
|
private void MihomoButton_Click(object sender, RoutedEventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user