Merge pull request #11817 from peppy/fix-collection-dropdown-cross-thread-manipulation

Fix potential crash from cross-thread drawable manipulation in CollectionFilterDropdown
This commit is contained in:
Dan Balasescu
2021-02-19 10:06:42 +09:00
committed by GitHub
3 changed files with 29 additions and 12 deletions

View File

@ -44,7 +44,7 @@ namespace osu.Game.Screens.Select
Sort = sortMode.Value,
AllowConvertedBeatmaps = showConverted.Value,
Ruleset = ruleset.Value,
Collection = collectionDropdown?.Current.Value.Collection
Collection = collectionDropdown?.Current.Value?.Collection
};
if (!minimumStars.IsDefault)