Addon renamed to Extension everywhere

This commit is contained in:
Frank Skare
2019-07-25 01:34:36 +02:00
parent 005550af55
commit d96587cb7b
23 changed files with 62 additions and 237 deletions

View File

@@ -560,8 +560,12 @@ namespace mpvnet
}
RegHelp.SetObject(App.RegPath, "Recent", RecentFiles.ToArray());
mp.commandv("quit");
mp.ShutdownAutoResetEvent.WaitOne(3000);
if (mp.IsQuitNeeded)
mp.commandv("quit");
if (!mp.ShutdownAutoResetEvent.WaitOne(10000))
Msg.ShowError("Shutdown thread failed to complete within 10 seconds.");
}
protected override void OnMouseDown(MouseEventArgs e)