Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97355

How to stop my service running from VS Code extension while upgrading the VS Code to new version?

$
0
0

I have a VS Code extension installed which runs a java service from extension location.

But I am getting below error while updating the VS Code to a new version because of the running jar.

"Failed to create file handle: The process cannot access the file because it is being used by another process."

I need to stop my service whenever the VS Code update happens ( Both automatic and manual updates ).

Is there any way to get control over VS Code update in my extension code?

Any help is much appreciated!

VS Code Update Error


Viewing all articles
Browse latest Browse all 97355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>