mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 16:27:43 +08:00
Remove unnecessary runOutsideOfGameplay
call
This commit is contained in:
parent
a41c6dce04
commit
1f45b2134f
@ -62,8 +62,6 @@ namespace osu.Desktop.Updater
|
|||||||
// TODO: we should probably be checking if there's a more recent update, rather than shortcutting here.
|
// TODO: we should probably be checking if there's a more recent update, rather than shortcutting here.
|
||||||
// Velopack does support this scenario (see https://github.com/ppy/osu/pull/28743#discussion_r1743495975).
|
// Velopack does support this scenario (see https://github.com/ppy/osu/pull/28743#discussion_r1743495975).
|
||||||
if (pendingUpdate != null)
|
if (pendingUpdate != null)
|
||||||
{
|
|
||||||
runOutsideOfGameplay(() =>
|
|
||||||
{
|
{
|
||||||
// If there is an update pending restart, show the notification to restart again.
|
// If there is an update pending restart, show the notification to restart again.
|
||||||
notificationOverlay.Post(new UpdateApplicationCompleteNotification
|
notificationOverlay.Post(new UpdateApplicationCompleteNotification
|
||||||
@ -74,7 +72,6 @@ namespace osu.Desktop.Updater
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user