mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-01-22 01:00:34 +08:00
Dispose windows before exiting
This commit is contained in:
@@ -127,9 +127,12 @@ namespace QuickLook
|
||||
{
|
||||
if (_isFirstInstance)
|
||||
{
|
||||
_isRunning.ReleaseMutex();
|
||||
|
||||
PipeServerManager.GetInstance().Dispose();
|
||||
TrayIconManager.GetInstance().Dispose();
|
||||
BackgroundListener.GetInstance().Dispose();
|
||||
ViewWindowManager.GetInstance().Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace QuickLook
|
||||
public void Dispose()
|
||||
{
|
||||
StopFocusMonitor();
|
||||
ClosePreview();
|
||||
}
|
||||
|
||||
internal void InvokeRoutine(KeyEventArgs kea, bool isKeyDown)
|
||||
|
||||
Reference in New Issue
Block a user