1
0
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:
Dean Herbert
2026-05-11 03:27:34 +09:00
Unverified
parent 458a27c99a
commit 9e6b0148a0
@@ -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: