When I close Visual Studio 2022 by pressing the close button on the IDE, the devenv.exe process keeps running in background between 3-5 minutes, after that time, it closes automatically, really strange.
I discovered this issue because I was trying to install an extension automatedly using DTE
.
Resolution:
use task till to kill alls individail pid
taskkill /F /PID (PID)