only wait extra 100ms if loop is otherwise empty

This commit is contained in:
N00MKRAD
2021-02-12 13:04:34 +01:00
parent 5424474272
commit ec71829312

View File

@@ -93,8 +93,10 @@ namespace Flowframes.Main
if (lastFrame >= targetFrames)
break;
}
await Task.Delay(100);
else
{
await Task.Delay(100);
}
}
progCheckRunning = false;
if (I.canceled)