mirror of
https://github.com/ppy/osu
synced 2024-12-17 12:25:19 +00:00
Set canceled result in scheduleAsync
Was holding up the task completion source, and in consequence, potentially the entire task chain.
This commit is contained in:
parent
9ab1ad25eb
commit
c3ba92f057
@ -551,7 +551,10 @@ namespace osu.Game.Online.Multiplayer
|
||||
Scheduler.Add(() =>
|
||||
{
|
||||
if (cancellationToken.IsCancellationRequested)
|
||||
{
|
||||
tcs.SetCanceled();
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user