1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 03:09:54 +08:00

Add comment + fix spinlocking

This commit is contained in:
smoogipoo
2019-05-31 13:38:48 +09:00
Unverified
parent 4dc77d64a3
commit 57d648df6d
@@ -43,6 +43,7 @@ namespace osu.Game.Overlays.Changelog
};
req.Failure += _ => complete = true;
// This is done on a separate thread to support cancellation below
Task.Run(() => req.Perform(api));
while (!complete)
@@ -53,7 +54,7 @@ namespace osu.Game.Overlays.Changelog
return;
}
Task.Delay(1);
Thread.Sleep(10);
}
if (build != null)