mirror of https://github.com/ppy/osu
Fix one more case of collection modification during enumeration
https://sentry.ppy.sh/share/issue/a61c27b2a63a4a6aa80e75873f9d87ca/
This commit is contained in:
parent
7c9c499e19
commit
ecdb30d215
|
@ -132,7 +132,7 @@ private Realm ensureUpdateRealm()
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue