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