1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Merge pull request #9943 from peppy/fix-double-storyboard-sample-dispose-crash

Fix potential crash if disposing a DrawableStoryboardSample twice
This commit is contained in:
Dan Balasescu 2020-08-21 20:11:27 +09:00 committed by GitHub
commit 8c454cee6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,8 @@ namespace osu.Game.Storyboards.Drawables
protected override void Dispose(bool isDisposing)
{
Channel?.Stop();
Channel = null;
base.Dispose(isDisposing);
}
}