mirror of https://github.com/ppy/osu
Add inline note about deadlock
This commit is contained in:
parent
f84b07e71a
commit
b18b5b9977
|
@ -96,6 +96,7 @@ public void Stop()
|
||||||
|
|
||||||
hasStarted = false;
|
hasStarted = false;
|
||||||
|
|
||||||
|
// This pre-check is important, fixes a BASS deadlock in some scenarios.
|
||||||
if (!Track.HasCompleted)
|
if (!Track.HasCompleted)
|
||||||
{
|
{
|
||||||
Track.Stop();
|
Track.Stop();
|
||||||
|
|
Loading…
Reference in New Issue