Fix storyboard samples not stopping on exit (#5972)

Fix storyboard samples not stopping on exit
This commit is contained in:
Dean Herbert 2019-09-05 14:18:20 +09:00 committed by GitHub
commit 2e6efebb17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}
}