mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fix changelog overlay hard crashing on no internet connection
This commit is contained in:
@ -158,7 +158,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private Task initialFetchTask;
|
private Task initialFetchTask;
|
||||||
|
|
||||||
private void performAfterFetch(Action action) => fetchListing()?.ContinueWith(_ => Schedule(action));
|
private void performAfterFetch(Action action) => fetchListing()?.ContinueWith(_ =>
|
||||||
|
Schedule(action), TaskContinuationOptions.OnlyOnRanToCompletion);
|
||||||
|
|
||||||
private Task fetchListing()
|
private Task fetchListing()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user