Skip to content

Commit

Permalink
Cleaned up sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferStrube committed Mar 11, 2024
1 parent 89fe8ea commit 9422fd5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ else
cancellationToken.UnsafeRegister(async _ => await abortController.AbortAsync(), null);

StateHasChanged();
#pragma warning disable 4014
await JSRuntime.InvokeVoidAsync("neverEndingFunction", cancellationToken, signal);
#pragma warning restore 4014
}

private void Abort()
Expand Down

0 comments on commit 9422fd5

Please sign in to comment.