Skip to content

Commit

Permalink
fixed typo of variable name
Browse files Browse the repository at this point in the history
Signed-off-by: OsakaRuma <[email protected]>
  • Loading branch information
iamscottxu committed Sep 8, 2024
1 parent e64c24c commit 631be21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Starward/Services/Download/InstallGameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -722,14 +722,14 @@ protected void StartTask(InstallGameState state)
async Task RunTasksAsync()
{
_cancellationTokenSource = new CancellationTokenSource();
var tsaks = new Task[Environment.ProcessorCount];
var tasts = new Task[Environment.ProcessorCount];
for (int i = 0; i < Environment.ProcessorCount; i++)
{
tsaks[i] = ExecuteTaskItemAsync(_cancellationTokenSource.Token);
tasts[i] = ExecuteTaskItemAsync(_cancellationTokenSource.Token);
}
try
{
await Task.WhenAll(tsaks).ConfigureAwait(false);
await Task.WhenAll(tasts).ConfigureAwait(false);
}
finally
{
Expand Down

0 comments on commit 631be21

Please sign in to comment.