vala-lang / vala-language-server

Code Intelligence for Vala & Genie
GNU Lesser General Public License v2.1
290 stars 43 forks source link

Language server keeps running at 8% after VSCodium is turned off. #296

Open MachineTrader opened 1 year ago

MachineTrader commented 1 year ago

Two instances of the Language server keeps running at 8% after VSCodium is turned off. I hadn't used VSCodium for some minutes so it was in the background of my desktop. But I was noticing heat from the computer. And even though I was not coding, I saw two instances of the vala server running in the background at 8% cpu. So I treid to turn of VSCode, and those two instances are still running at 8.39% as I'm writing.

Software Endevour OS kernel 6.5.3-zen1-1-zen Gnome 44.5 Code editor : VSCodium Vala Language Server: 0.48.7-7 Vala version: 0.56.13

To Reproduce Just had a short Genie example with some not correct syntax:

[indent=0]

init 
    var my_set = new set of int,int

This is all that was in the file. Sets don't exist in Genie.

Under the problem tab it says: The name set' does not exist in the context ofmain'

Which is correct:)

MachineTrader commented 1 year ago

I'm finding that after a reboot I'm unable to reproduce this. Which means the code above is not enough to cause this, it could've happened earlier, I just didn't notice at once.. So I'll have to get back when I find a way to reproduce this reliably.