mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:52:57 +08:00
Cancel request on dispose
This commit is contained in:
parent
2f209d1dfa
commit
328b4d6863
@ -194,5 +194,12 @@ namespace osu.Game.Overlays.Comments
|
||||
{
|
||||
background.Colour = colours.Gray2;
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
request?.Cancel();
|
||||
loadCancellation?.Cancel();
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user