shutdown old thread

This commit is contained in:
Paddy Xu
2018-01-26 15:40:00 +02:00
parent 914cc7c3a7
commit a63fd77a50

View File

@@ -273,6 +273,7 @@ namespace QuickLook
//Dispatcher.BeginInvoke(new Action(Hide), DispatcherPriority.ApplicationIdle);
ViewWindowManager.GetInstance().ForgetCurrentWindow();
BeginClose();
ProcessHelper.PerformAggressiveGC();
}
@@ -280,6 +281,7 @@ namespace QuickLook
internal void BeginClose()
{
UnloadPlugin();
busyDecorator.Dispose();
Close();