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