mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Ensure tracker is disposed
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user