diff --git a/osu.Framework.Tests/Audio/SampleBassTest.cs b/osu.Framework.Tests/Audio/SampleBassTest.cs index ed0155b18e..364a854676 100644 --- a/osu.Framework.Tests/Audio/SampleBassTest.cs +++ b/osu.Framework.Tests/Audio/SampleBassTest.cs @@ -115,5 +115,20 @@ public void TestPlayingUpdatedAfterInlineStop() bass.RunOnAudioThread(() => channel.Stop()); Assert.That(channel.Playing, Is.False); } + + [Test] + public void TestAliveAfterStop() + { + channel = sample.Play(); + bass.Update(); + + Assert.That(channel.Playing, Is.True); + + channel.Stop(); + bass.Update(); + + Assert.That(channel.Playing, Is.False); + Assert.That(channel.IsAlive, Is.True); + } } }