Csharpier process not being killed after closing Rider IDE
Environments
- IDE Version: JetBrains Rider 252.26830.109
- Extension Version: 2.2.3
- CSharpier Version: 0.30.6 will NOT be the same as the extension version
- Operating System: MacOS 26.0.1 (Tahoe)
- .csharpierrc Settings:
- .editorconfig Settings:
Log Output Nothing
Steps to reproduce In some cases, two or more dotnet-csharpier process are created
Process created after opening rider IDE and modifying some code with normal usage
After closing Rider, one process keep alive and the other one is killed
I don't know if this is a problem with Rider itself or if it's a problem with csharpier extension
Expected behavior The csharpier process opened by Rider should be killed when the IDE is closed
Actual behavior The csharpier process opened by Rider is not being killed
I've run into this occasionally but as far as I could tell I was doing everything I was supposed to so that the plugin would kill off the csharpier processes when rider was exited. Perhaps a better long term solution is to have csharpier time itself out if it hasn't any requests to format a file in more than x minutes, and modify the plugins so that they can handle a csharpier process that may have timed out and shut down.
Athough, my other long term plan was to turn csharpier into a native AOT tool. Then the startup time for csharpier is fast enough that it doesn't need to be kept running in the background.