mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
fix KeyNotFound crash
This commit is contained in:
parent
b03ddd4470
commit
6feaa24d92
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue