Closed Kein closed 8 months ago
"mypy-type-checker.preferDaemon": true
is what causes daemon to be used (i.e, dmypy
is used instead of mypy
). Turn this off (or switching to plain mypy
) for now using "mypy-type-checker.preferDaemon": false
.
duplicate of https://github.com/microsoft/vscode-mypy/issues/236
"mypy-type-checker.preferDaemon": true is what causes daemon to be used
Yes, it causes the daemon to be used, but it is not the cause of this issue.
The reason I even set daemon
to True
is because I saw the same problem in default configuration. very often closing VSCode would leave 2-3 orphaned python processes. So I went deep into the settings nd tried to change the things, see if anything affects it. It didn't.
I no longer have the extension in question installed, I swapped it for a different mypy one, but that is the gist of it and why I even reported it in a first place.
At a glance:
In detail:
Env command line reports this:
The issue:
Upon closing VSCode these processes are orphaned forever and wont quit. Opening and closing VSCode 10 times repetitively spawns 20 zombie processes
Config/Setup:
VSCode 1.86 Mypy Type Checker: v2023.6.0
P.S. Switching
"mypy-type-checker.preferDaemon": true,
makes no difference to the issue