Bug fix
Some checks are pending
release Linux / build (Release) (push) Waiting to run
release macOS / build (Release) (push) Waiting to run
release Windows desktop (Avalonia UI) / build (Release) (push) Waiting to run
release Windows / build (Release) (push) Waiting to run

This commit is contained in:
2dust 2025-10-01 20:17:26 +08:00
parent 5b12c36da5
commit 12cc09d0c9

View file

@ -88,18 +88,12 @@ public class ProcessService : IDisposable
{
_process.CancelOutputRead();
}
catch
{
throw;
}
catch { }
try
{
_process.CancelErrorRead();
}
catch
{
throw;
}
catch { }
}
try
@ -109,19 +103,13 @@ public class ProcessService : IDisposable
_process.Kill(true);
}
}
catch
{
throw;
}
catch { }
try
{
_process.Kill();
}
catch
{
throw;
}
catch { }
await Task.Delay(100);
}