mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 07:07:18 +08:00
Add comment + fix spinlocking
This commit is contained in:
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user