1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 00:23:22 +08:00

Fix high performance session potentially getting stuck after multiplayer spectator

This commit is contained in:
Dean Herbert 2024-09-05 17:19:53 +09:00
parent abd74ab41c
commit 86a06c7e10
No known key found for this signature in database

View File

@ -573,6 +573,9 @@ namespace osu.Game.Screens.Play
// if the player never got pushed, we should explicitly dispose it.
DisposalTask = LoadTask?.ContinueWith(_ => CurrentPlayer?.Dispose());
}
highPerformanceSession?.Dispose();
highPerformanceSession = null;
}
#endregion