mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:52:54 +08:00
Ensure tracker is disposed
This commit is contained in:
parent
4a405bb859
commit
6fff7c39da
@ -402,6 +402,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
|
||||
if (client != null)
|
||||
client.LoadRequested -= onLoadRequested;
|
||||
|
||||
modSettingChangeTracker?.Dispose();
|
||||
}
|
||||
|
||||
private class UserModSelectOverlay : LocalPlayerModSelectOverlay
|
||||
|
@ -162,6 +162,7 @@ namespace osu.Game.Screens.Select.Details
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
settingChangeTracker?.Dispose();
|
||||
starDifficultyCancellationSource?.Cancel();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user