1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 21:40:34 +08:00

Exit loop when cancellation requested

The following manages to create all hitobjects but proceeds to get stuck
in this method:

`dotnet run -- difficulty 1607040 -r:2`
This commit is contained in:
Dan Balasescu 2025-03-03 14:19:19 +09:00
parent c4e37a1566
commit ad9a963bd0
No known key found for this signature in database

View File

@ -114,6 +114,8 @@ namespace osu.Game.Rulesets.Objects
{
foreach (HitObject hitObject in nestedHitObjects)
{
cancellationToken.ThrowIfCancellationRequested();
if (hitObject is IHasComboInformation n)
{
n.ComboIndexBindable.BindTo(hasCombo.ComboIndexBindable);