You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but there will something problem with updateLoadProgressMessage and saveChanges.
because thread will not wait, so addRoundBeatmaps() and addSeedingBeatmaps() will run together, so these two method will update progress message together, also it will cause saveChanges() early execution before beatmap updated.
Type
Crash to desktop
Bug description
regress from #24037
after 1b671b8, beatmap update will cause exceptions
this is because the code below
osu/osu.Game.Tournament/TournamentGameBase.cs
Lines 85 to 95 in 1b671b8
readBracket() is running at thread pool so addRoundBeatmaps() and addSeedingBeatmaps() will also run in this.
so it cannot use GetResultSafely()
we can use
ContinueWith
to solve it likebut there will something problem with updateLoadProgressMessage and saveChanges.
because thread will not wait, so addRoundBeatmaps() and addSeedingBeatmaps() will run together, so these two method will update progress message together, also it will cause saveChanges() early execution before beatmap updated.
Screenshots or videos
No response
Version
commit 1b671b8
Logs
nan
The text was updated successfully, but these errors were encountered: