Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazor Web App takes a long time to shut down when pressing Ctrl-C #60815

Closed
danroth27 opened this issue Mar 7, 2025 · 4 comments
Closed

Blazor Web App takes a long time to shut down when pressing Ctrl-C #60815

danroth27 opened this issue Mar 7, 2025 · 4 comments
Labels
area-blazor Includes: Blazor, Razor Components

Comments

@danroth27
Copy link
Member

danroth27 commented Mar 7, 2025

Repro steps:

  • Install .NET 9 or .NET 10 Preview 2
  • dotnet new blazor
  • dotnet run
  • Browse to the counter page of the app
  • Shut down the app using Ctrl-C

Expected result: App shuts down immediately and the browser displays the reconnect dialog

Actual result: The app logs "Application is shutting down...", but then it takes a long time for the app to shut down and for the reconnect dialog to show up.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Mar 7, 2025
@KainTim
Copy link

KainTim commented Mar 10, 2025

I am experiencing this as well on dotnet 9, so I am not entirely sure that these Issues are related.

@danroth27
Copy link
Member Author

I am experiencing this as well on dotnet 9, so I am not entirely sure that these Issues are related.

@KainTim Thanks for the feedback! I'm also now able to reproduce this with .NET 9.

@davidfowl
Copy link
Member

@BrennanConroy sounds like SignalR

@BrennanConroy
Copy link
Member

BrennanConroy commented Mar 11, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

No branches or pull requests

5 participants