avoid excessive restore cycle

This commit is contained in:
Kang Yu 2020-02-29 12:27:49 -08:00
parent d90829735d
commit b3acca721f

View file

@ -633,6 +633,11 @@ namespace Ninjacrab.PersistentWindows.Common
{
lock (controlLock)
{
if (!restoringWindowPos)
{
return;
}
CancelCaptureTimer();
if (restoreNestLevel > 1)