arduino / arduino-language-server

An Arduino Language Server based on Clangd to Arduino code autocompletion
GNU Affero General Public License v3.0
139 stars 16 forks source link

Do proper clean-up of tmp directories #146

Closed cmaglie closed 1 year ago

cmaglie commented 1 year ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? Do proper cleanup of temporary folders.

What is the current behavior? Temp directories are not removed after receiving the shutdown message, see https://github.com/arduino/arduino-language-server/issues/145 for details

What is the new behavior? The shutdown message is now properly handled and the temp directories are removed.

Other information: Partially resolve #145