Add todo about fixing stutter on update application

This commit is contained in:
Dean Herbert 2024-09-04 16:08:18 +09:00
parent b61023385a
commit e564e8c048
No known key found for this signature in database

View File

@ -121,6 +121,8 @@ namespace osu.Desktop.Updater
private bool restartToApplyUpdate()
{
// TODO: Migrate this to async flow whenever available (see https://github.com/ppy/osu/pull/28743#discussion_r1740505665).
// Currently there's an internal Thread.Sleep(300) which will cause a stutter when the user clicks to restart.
updateManager.WaitExitThenApplyUpdates(pendingUpdate?.TargetFullRelease);
Schedule(() => game.AttemptExit());
return true;