1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 11:42:54 +08:00

Fix SpectatorClient holding references to Player

This commit is contained in:
Dan Balasescu 2024-04-03 17:32:02 +09:00
parent fd9b890a94
commit b5adcf2e0e
No known key found for this signature in database

View File

@ -248,6 +248,9 @@ namespace osu.Game.Online.Spectator
isPlaying = false; isPlaying = false;
currentBeatmap = null; currentBeatmap = null;
currentScore = null;
currentScoreProcessor = null;
currentScoreToken = null;
if (state.HasPassed) if (state.HasPassed)
currentState.State = SpectatedUserState.Passed; currentState.State = SpectatedUserState.Passed;