mirror of https://github.com/ppy/osu
Reword comment
This commit is contained in:
parent
be62e48296
commit
cf0f0f8a1b
|
@ -80,8 +80,7 @@ public void StopAnyPlaying(IPreviewTrackOwner source)
|
|||
return;
|
||||
|
||||
CurrentTrack.Stop();
|
||||
// CurrentTrack must not change until the scheduled stopped event has been invoked.
|
||||
// To ensure that this doesn't early-return on (CurrentTrack != track) check.
|
||||
// CurrentTrack should not be set to null here as it will result in incorrect handling in the track.Stopped callback above.
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue