Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
274 stars 19 forks source link

Server is sometimes closed as "unused" even though PHP files are still open #475

Closed Gert-dev closed 2 years ago

Gert-dev commented 5 years ago

This was split off from #460.

There appears to be a bug somewhere where the atom-languageclient closes the server due to "Stopping unused servers", even though there are still files open. I could reproduce this earlier, but I can't anymore now.

It happened when I had five files open in this order: A, B, C, D and E and B was a - non-PHP file. I made E active and rapidly closed E, D and C, ending up on B, and the server was stopped, even though A was still open. Editing in other files such as A didn't properly start the server anymore either.

machitgarha commented 2 years ago

I cannot reproduce this, and cannot remember to be hit by this. Also, the atom-languageclient is updated recently in #527, so it may already be fixed, supposing the bug is valid.

So I'm going to close this.