1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 21:39:30 +08:00

Fix one more case of collection modification during enumeration

https://sentry.ppy.sh/share/issue/a61c27b2a63a4a6aa80e75873f9d87ca/
This commit is contained in:
Dean Herbert
2022-06-29 02:28:21 +09:00
Unverified
parent 7c9c499e19
commit ecdb30d215
+1 -1
View File
@@ -132,7 +132,7 @@ namespace osu.Game.Database
Logger.Log(@$"Opened realm ""{updateRealm.Config.DatabasePath}"" at version {updateRealm.Config.SchemaVersion}");
// Resubscribe any subscriptions
foreach (var action in customSubscriptionsResetMap.Keys)
foreach (var action in customSubscriptionsResetMap.Keys.ToArray())
registerSubscription(action);
}