mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +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:
commit
8c454cee6b
@ -76,6 +76,8 @@ namespace osu.Game.Storyboards.Drawables
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
Channel?.Stop();
|
||||
Channel = null;
|
||||
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user