mirror of
https://github.com/ppy/osu.git
synced 2026-05-13 19:54:15 +08:00
Ensure samples definitely stop playing when exiting queue screen
See https://github.com/ppy/osu/issues/37379.
This commit is contained in:
@@ -465,6 +465,7 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Queue
|
||||
{
|
||||
base.OnSuspending(e);
|
||||
|
||||
stopWaitingLoopPlayback();
|
||||
client.MatchmakingLeaveLobby().FireAndForget();
|
||||
}
|
||||
|
||||
@@ -473,6 +474,8 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Queue
|
||||
if (base.OnExiting(e))
|
||||
return true;
|
||||
|
||||
stopWaitingLoopPlayback();
|
||||
|
||||
switch (currentState.Value)
|
||||
{
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user