mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 10:57:30 +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