mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 07:13:21 +08:00
Merge branch 'master' into fix-texture-loader-stores
This commit is contained in:
commit
99d349c865
@ -161,7 +161,7 @@ namespace osu.Game.Overlays
|
|||||||
if (configManager == null) throw new ArgumentNullException(nameof(configManager));
|
if (configManager == null) throw new ArgumentNullException(nameof(configManager));
|
||||||
|
|
||||||
if (!trackedConfigManagers.TryGetValue((source, configManager), out var existing))
|
if (!trackedConfigManagers.TryGetValue((source, configManager), out var existing))
|
||||||
throw new InvalidOperationException($"{nameof(configManager)} is not registered.");
|
return;
|
||||||
|
|
||||||
existing.Unload();
|
existing.Unload();
|
||||||
existing.SettingChanged -= display;
|
existing.SettingChanged -= display;
|
||||||
|
Loading…
Reference in New Issue
Block a user