1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:17:27 +08:00
osu-lazer/osu.Game
Bartłomiej Dach ef230884a8
Fix collections dropdown crashing during storage migration
Closes https://github.com/ppy/osu/issues/25815.

`CollectionDropdown.collectionsChanged()` was assuming that if it
received `null` changes, then it must mean that the change subscription
is being initialised and the `filters` list will not contain any items.

However, that is not the only circumstance wherein a realm subscription
can fire with `null` changes; that can also happen after the main realm
instance gets recycled via the notification registration flow:

	2f28a92f0a/osu.Game/Database/RealmAccess.cs (L545-L549)

	2f28a92f0a/osu.Game/Database/RealmAccess.cs (L1228-L1251)

Therefore, to fix the crash, just ensure that the list is cleared every
time.
2023-12-18 09:11:00 +01:00
..
Audio Add basic implementation of argon osu!taiko hitsounds (volume / flourish / strong) 2023-07-05 18:44:27 +09:00
Beatmaps Fix StarRatingDisplay's display width to avoid text making slight autosize changes 2023-12-15 16:00:03 +09:00
Collections Fix collections dropdown crashing during storage migration 2023-12-18 09:11:00 +01:00
Configuration Add setting for adjusting whether text search is active by default 2023-12-14 09:52:23 +01:00
Database Extract common method for determining stable import usability of directory 2023-12-15 15:42:19 +01:00
Extensions Merge branch 'master' into score-encoding-cleanup 2023-10-26 09:04:05 +02:00
Graphics Apply Bindable.Parse refactorings 2023-12-13 14:07:38 +09:00
Input Revert "Rename popup/binding string to Toggle gameplay clicks/taps" 2023-11-06 21:10:04 +01:00
IO Fix various other inspections 2023-10-17 17:48:51 +09:00
IPC Handle osu:// scheme links via IPC in desktop game 2022-06-20 21:26:22 +02:00
Localisation Add control to adjust mod select search text box behaviour 2023-12-14 10:04:37 +01:00
Models Remove usages of [ExcludeFromDynamicCompile] 2023-05-08 18:12:56 +09:00
Online Move object counts to BeatmapInfo 2023-12-13 17:33:24 +09:00
Overlays Merge branch 'master' into more-import-lenience 2023-12-15 16:02:44 +01:00
Performance Automated pass 2023-06-24 01:00:03 +09:00
Properties Automated pass 2023-06-24 01:00:03 +09:00
Replays Show smoke in replays 2022-09-18 17:55:06 -07:00
Rulesets Change osu ruleset to use new HP algorithm by default 2023-12-17 19:33:04 +09:00
Scoring Merge pull request #24166 from Zyfarok/scorev3 2023-12-12 17:38:44 +09:00
Screens Add IApplicableHealthProcessor 2023-12-17 19:27:03 +09:00
Skinning Apply Bindable.Parse refactorings 2023-12-13 14:07:38 +09:00
Storyboards Minor reword on documentation 2023-10-28 03:18:13 +03:00
Tests Update currently online display tests 2023-12-06 19:37:35 +01:00
Updater use fa_download for updates instead of fa_upload 2023-07-16 15:21:15 -04:00
Users Show user's status as tooltip on the extended user panel 2023-12-06 19:37:35 +01:00
Utils Automatically activate and deactivate touch device mod in song select 2023-11-02 19:45:48 +01:00
.editorconfig Add localisation length hinting 2022-04-28 19:26:28 +09:00
BackgroundDataStoreProcessor.cs Move object counts to BeatmapInfo 2023-12-13 17:33:24 +09:00
FodyWeavers.xml More realm analytic disables 2023-07-20 17:51:33 +09:00
osu!.res And then everything became one 2017-09-19 16:06:58 +09:00
osu.Game.csproj Update resources 2023-12-15 19:18:53 +09:00
OsuGame.cs Merge pull request #25522 from bdach/no-concurrent-connections 2023-11-28 19:09:38 +09:00
OsuGameBase_Importing.cs Automated pass 2023-06-24 01:00:03 +09:00
OsuGameBase.cs Add HexaconIcons lookup to allow usage with SpriteIcon 2023-11-24 13:17:39 +09:00
PerformFromMenuRunner.cs Partial everything 2022-11-27 00:00:27 +09:00