From 4de243ca7adff064b93b5bf46297cd184f0bbe1f Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Mon, 11 Jul 2022 13:30:19 +0100 Subject: [PATCH] Update to 0.3.0.1. Fix closing the input stream in the process wrapper. --- YTDLNetFrontEnd/YTDLNetFrontEnd/Properties/AssemblyInfo.cs | 4 ++-- YTDLNetFrontEnd/YTDLNetFrontEnd/util/MonitorableProcess.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/YTDLNetFrontEnd/YTDLNetFrontEnd/Properties/AssemblyInfo.cs b/YTDLNetFrontEnd/YTDLNetFrontEnd/Properties/AssemblyInfo.cs index 6a4e6ea..978d5cc 100644 --- a/YTDLNetFrontEnd/YTDLNetFrontEnd/Properties/AssemblyInfo.cs +++ b/YTDLNetFrontEnd/YTDLNetFrontEnd/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.3.0.0")] -[assembly: AssemblyFileVersion("0.3.0.0")] +[assembly: AssemblyVersion("0.3.0.1")] +[assembly: AssemblyFileVersion("0.3.0.1")] diff --git a/YTDLNetFrontEnd/YTDLNetFrontEnd/util/MonitorableProcess.cs b/YTDLNetFrontEnd/YTDLNetFrontEnd/util/MonitorableProcess.cs index 3db19c3..9a3dd6f 100644 --- a/YTDLNetFrontEnd/YTDLNetFrontEnd/util/MonitorableProcess.cs +++ b/YTDLNetFrontEnd/YTDLNetFrontEnd/util/MonitorableProcess.cs @@ -141,6 +141,7 @@ namespace com.captainalm.YTDLNetFrontEnd.util { if (representation == null) return; waitForExit(); + if (representation != null && startInfo.RedirectStandardInput) representation.StandardInput.Close(); representation.Close(); }