mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:43:21 +08:00
Fix missing unsubscribe from JudgementReverted
This commit is contained in:
parent
2e3acffd1d
commit
b66758dac7
@ -158,7 +158,10 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
|
|
||||||
if (scoreProcessor != null)
|
if (scoreProcessor != null)
|
||||||
|
{
|
||||||
scoreProcessor.NewJudgement -= onJudgementChanged;
|
scoreProcessor.NewJudgement -= onJudgementChanged;
|
||||||
|
scoreProcessor.JudgementReverted -= onJudgementChanged;
|
||||||
|
}
|
||||||
|
|
||||||
loadCancellationSource?.Cancel();
|
loadCancellationSource?.Cancel();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user