mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix comment formatting
This commit is contained in:
parent
d7c037d156
commit
466b825611
1 changed files with 1 additions and 3 deletions
|
|
@ -252,18 +252,16 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
token.Register(() =>
|
||||
{
|
||||
// ReSharper disable once AccessToDisposedClosure
|
||||
// ReSharper disable once AccessToModifiedClosure
|
||||
// Manually Check whether disposed
|
||||
if (!disposed && !process.HasExited)
|
||||
// ReSharper disable once AccessToDisposedClosure
|
||||
process.Kill();
|
||||
});
|
||||
|
||||
try
|
||||
{
|
||||
// token expire won't instantly trigger the exception,
|
||||
// manually kill process at before
|
||||
// manually kill process at before
|
||||
await source.CopyToAsync(buffer, token);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
|
|
|
|||
Loading…
Reference in a new issue