Update to 0.3.0.1.

Fix closing the input stream in the process wrapper.
This commit is contained in:
Captain ALM 2022-07-11 13:30:19 +01:00
parent c17822995e
commit 4de243ca7a
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 3 additions and 2 deletions

View File

@ -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")]

View File

@ -141,6 +141,7 @@ namespace com.captainalm.YTDLNetFrontEnd.util
{
if (representation == null) return;
waitForExit();
if (representation != null && startInfo.RedirectStandardInput) representation.StandardInput.Close();
representation.Close();
}