Approved
Last Updated: 05 Aug 2019 11:12 by ADMIN
Ken
Created on: 05 Aug 2019 11:11
Type: Bug Report
1
Stopping .NET Core application from command prompt does not kill all the child dotnet.exe processes

Prerequisites: .NET Core application that uses HTML5-based report viewer and REST service with Kestrel web server.

When the application is stopped from the command prompt with CTRL+C, it does not stop all the dotnet.exe child processes that are spawn by the application and hangs on "Application is shutting down..." indefinitely.

This behavior might be related with the issue https://github.com/aspnet/Hosting/issues/960 which states that CTRL+C is not forwarded to the child processes.
Perform a detailed examination to see if there is an option to close the processes internally when a shutdown procedure is initiated.

0 comments