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:
parent
abd74ab41c
commit
86a06c7e10
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user