From 466b825611d5c43866da6b79dcb02369f48d0020 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 27 Jul 2021 19:01:27 +1000 Subject: [PATCH] fix comment formatting --- Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index 08836b56f..22f547a5a 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -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)