diff --git a/Changelog.md b/Changelog.md index af38ff3..e9605bd 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,10 +1,17 @@ -5.4.7.2 Beta (not yet released) +5.4.7.3 Beta (not yet released) ============ -- WM_APPCOMMAND (mpv calls this media-keys) based input is no longer - directly passed to mpv but rather handled in mpv.net translating - the commands to mpv keys and sent via keypress input command to mpv +- + + +5.4.7.2 Beta +============ + +- another attempt to fix a app command issue. WM_APPCOMMAND (mpv calls this media keys) + based input is no longer directly passed to mpv but rather handled in mpv.net directly + translating the native commands to mpv keys and sent via keypress input command to mpv +- another attempt to fix a crash caused by powershell 5.1 not being installed 5.4.7.1 Beta diff --git a/mpv.net/Misc/PowerShell.cs b/mpv.net/Misc/PowerShell.cs index 836f606..904d766 100644 --- a/mpv.net/Misc/PowerShell.cs +++ b/mpv.net/Misc/PowerShell.cs @@ -233,12 +233,6 @@ namespace mpvnet var error = sender as PSDataCollection; ConsoleHelp.WriteError(error[e.Index], Module); } - - public static void Shutdown() - { - foreach (PowerShell ps in Instances) - ps.Runspace.Dispose(); - } } public class PowerShellException : Exception diff --git a/mpv.net/Properties/AssemblyInfo.cs b/mpv.net/Properties/AssemblyInfo.cs index 88831f2..ceb4a34 100644 --- a/mpv.net/Properties/AssemblyInfo.cs +++ b/mpv.net/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("5.4.7.1")] -[assembly: AssemblyFileVersion("5.4.7.1")] +[assembly: AssemblyVersion("5.4.7.2")] +[assembly: AssemblyFileVersion("5.4.7.2")] diff --git a/mpv.net/WinForms/MainForm.cs b/mpv.net/WinForms/MainForm.cs index 849b2d0..904166a 100644 --- a/mpv.net/WinForms/MainForm.cs +++ b/mpv.net/WinForms/MainForm.cs @@ -811,8 +811,6 @@ namespace mpvnet if (!core.ShutdownAutoResetEvent.WaitOne(10000)) Msg.ShowError("Shutdown thread failed to complete within 10 seconds."); - - PowerShell.Shutdown(); } protected override void OnMouseDown(MouseEventArgs e)