mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-01-30 01:03:02 +08:00
fix infinite loop
This commit is contained in:
Submodule QuickLook.Common updated: a5abd8a691...7b4e2fd3a0
@@ -171,6 +171,8 @@ namespace QuickLook
|
||||
_viewerWindow = new ViewerWindow();
|
||||
_viewerWindow.Closed += (sender, e) =>
|
||||
{
|
||||
if (ProcessHelper.IsShuttingDown())
|
||||
return;
|
||||
if (!(sender is ViewerWindow w) || w.Pinned)
|
||||
return; // Pinned window has already been forgotten
|
||||
StopFocusMonitor();
|
||||
|
||||
Reference in New Issue
Block a user