fix KeyNotFound crash

This commit is contained in:
Kang Yu 2024-12-07 13:18:13 -08:00
parent b03ddd4470
commit 6feaa24d92

View file

@ -565,6 +565,8 @@ namespace PersistentWindows.Common
if (freezeCapture || !monitorApplications.ContainsKey(curDisplayKey))
return;
if (!windowProcessName.ContainsKey(hwnd))
return;
string proc_name = windowProcessName[hwnd];
if (!fullScreenGamingProcesses.Contains(proc_name))
{