mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Merge pull request #18928 from peppy/fix-realm-collection-modified
Fix one more case of collection modification during enumeration
This commit is contained in:
commit
98e2ba749a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user