mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 18:07:25 +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.
|
// Eagerly clean these up as disposal of child components is asynchronous and may leave sounds playing beyond user expectations.
|
||||||
failAnimationLayer?.Stop();
|
failAnimationLayer?.Stop();
|
||||||
PauseOverlay.StopAllSamples();
|
PauseOverlay?.StopAllSamples();
|
||||||
|
|
||||||
if (LoadedBeatmapSuccessfully)
|
if (LoadedBeatmapSuccessfully)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user