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

[BUG] vscode-plugin: hdl_checker-script.py is being executed after vscode-close -> overloads CPU #105

Open
ungultig1 opened this issue Sep 5, 2023 · 1 comment

Comments

@ungultig1
Copy link

Hi,

I am using the newest version of VsCode, hdl_checker-extension and hdl_checker-client. (Windows10)
As linter I use the ModelSim vcom.

It works good, while working on opened vscode and editing my vhdl-files.

Bug: As soon as I close vscode completely, the "hdl_checker-script.py" invokes on closing.
This script leads to aprox. 15% cpu-usage and cannot terminate itself anymore; of course not, as the hdl_checker-client terminates, when closing vscode also.

I have to close this process by myself.

I think, hdl_checker tries to do another fresh build, when closing vscode - thus starting the mentioned script:

image

The horrorible part is, after closing vscode, and opening vscode again, and repeating the steps above, another python-process starts, which invokes a further "hdl_checker-script.py".

Resulting into even more cpu-load.

Please, fix this behaviour.

Thx.
Greetings.

@ungultig1
Copy link
Author

ungultig1 commented Sep 5, 2023

image

I could somehow reproduce it.

While vscode is running, and killing the "hdl_checker.exe"-task only, python.exe keeps running, causing huge amount of cpu-load.

If I kill the "hdl_checker.exe" Process-Tree, all process are killed immediately, without any leftovers.

suoto, could you please execute "kill process tree" on your hdl-checker-extension, when vscode is closing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant