no need to capture layout for window close event

This commit is contained in:
Kang Yu 2025-01-18 11:30:11 -08:00
parent 04e569fbcb
commit 2b288cb295

View file

@ -1930,12 +1930,7 @@ namespace PersistentWindows.Common
}
windowProcessName.Remove(hwnd);
bool found = windowTitle.Remove(hwnd);
if (sessionActive && found)
{
StartCaptureTimer(); //update z-order
}
windowTitle.Remove(hwnd);
return;
}