Skip to content

Commit

Permalink
tsToken pass (#21202)
Browse files Browse the repository at this point in the history
Pass the cancellation token so that it affects the delay process too
  • Loading branch information
AtariDreams committed Oct 12, 2022
1 parent 7bbefe9 commit 1d25e55
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -270,7 +270,7 @@ public bool LoadProfile()
if (!readSuccessfully)
{
Task.Delay(500).Wait();
Task.Delay(500, ts.Token).Wait(ts.Token);
}
}
});
Expand Down

0 comments on commit 1d25e55

Please sign in to comment.