1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Fix storyboard samples not stopping on exit

This commit is contained in:
Dean Herbert 2019-09-03 19:28:10 +09:00
parent 609adf4b59
commit 4b2cb8854e

View File

@ -64,5 +64,11 @@ namespace osu.Game.Storyboards.Drawables
LifetimeEnd = sampleInfo.StartTime;
}
}
protected override void Dispose(bool isDisposing)
{
channel?.Stop();
base.Dispose(isDisposing);
}
}
}