mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Fix potential nullref in tests
This commit is contained in:
parent
b83c8443ea
commit
aaf3ad805c
@ -1076,7 +1076,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
// Eagerly clean these up as disposal of child components is asynchronous and may leave sounds playing beyond user expectations.
|
||||
failAnimationLayer?.Stop();
|
||||
PauseOverlay.StopAllSamples();
|
||||
PauseOverlay?.StopAllSamples();
|
||||
|
||||
if (LoadedBeatmapSuccessfully)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user