avoid exception

This commit is contained in:
Kang Yu 2024-11-03 13:53:33 -08:00
parent 0d5d0372ee
commit 6910013026

View file

@ -2653,6 +2653,8 @@ namespace PersistentWindows.Common
{
try
{
if (exitFullScreenGaming)
return;
foreach (var hwnd in fullScreenGamingWindows)
{
if (IsFullScreen(hwnd))