tweaks and refactoring

This commit is contained in:
Frank Skare
2019-07-18 05:47:16 +02:00
parent 01da76bdc4
commit 85a23fbae1
5 changed files with 110 additions and 96 deletions

View File

@@ -8,6 +8,7 @@ using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Diagnostics;
namespace mpvnet
{
@@ -378,7 +379,7 @@ namespace mpvnet
protected override void WndProc(ref Message m)
{
//System.Diagnostics.Debug.WriteLine(m);
//Debug.WriteLine(m);
switch (m.Msg)
{
@@ -549,7 +550,6 @@ namespace mpvnet
}
RegHelp.SetObject(App.RegPath, "Recent", RecentFiles.ToArray());
App.Exit();
mp.commandv("quit");
mp.ShutdownAutoResetEvent.WaitOne(3000);
}