mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 20:07:25 +08:00
Fix potential crash if disposing a DrawableStoryboardSample twice
This commit is contained in:
parent
25ee1fa7a2
commit
69cb9f3091
@ -76,6 +76,8 @@ namespace osu.Game.Storyboards.Drawables
|
|||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
{
|
{
|
||||||
Channel?.Stop();
|
Channel?.Stop();
|
||||||
|
Channel = null;
|
||||||
|
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user