mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +08:00
Merge pull request #8858 from peppy/fix-comments-container-crash
Fix crash on switching comments page at an inopportune time
This commit is contained in:
commit
b7a2c031a8
@ -153,7 +153,7 @@ namespace osu.Game.Overlays.Comments
|
||||
request?.Cancel();
|
||||
loadCancellation?.Cancel();
|
||||
request = new GetCommentsRequest(id.Value, type.Value, Sort.Value, currentPage++, 0);
|
||||
request.Success += onSuccess;
|
||||
request.Success += res => Schedule(() => onSuccess(res));
|
||||
api.PerformAsync(request);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user