diff --git a/README.md b/README.md index 76440fc..2361971 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ public async Task RunCommandWithTimeout(string filename, string arguments, TimeS try { var processResults = await ProcessEx.RunAsync(processStartInfo, cancellationTokenSource.Token); + cancellationTokenSource.dispose(); } catch (OperationCanceledException) {