mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-18 04:00:34 +08:00
shutdown old thread
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user