#389, persist exception when running PW with -ignored_process

This commit is contained in:
Kang Yu 2025-03-08 16:44:18 -08:00
parent 3c585c1dab
commit 10dd03498a

View file

@ -1944,6 +1944,9 @@ namespace PersistentWindows.Common
return;
}
if (!CaptureProcessName(hwnd))
return;
if (ignoreProcess.Count > 0)
{
string processName = windowProcessName[hwnd];
@ -1951,9 +1954,6 @@ namespace PersistentWindows.Common
return;
}
if (!CaptureProcessName(hwnd))
return;
#if DEBUG
if (title.Contains("Microsoft Visual Studio")
&& (eventType == User32Events.EVENT_OBJECT_LOCATIONCHANGE