-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
This was added so that the servers can shut down themselves after the exit notification rather than relying on lsp-test to kill the process. I think it was added to address #70 Could that the mean that ghcide/hls aren't exiting properly on Windows? |
I did not see any symptom of that using them, in lsp mode or console mode. However, in the commit f2ff4d5, i see that the time out was changed from |
@jneira Hm you're right, this is a bit confusing. The call to If it's hanging on windows then that would mean that the timeout here isn't actually cancelling the |
I should point out that there is both |
Probably Could we simply make the process sleep the timeout instead |
@jneira that sounds good, might make the tests a bit slower, but I'm also happy if you want to just to kill it if you can make it Out of curiosity though, does this only happen with local tests, or is there a particular branch it's hanging on? |
i am afraid that the test suite is not being executed for windows, note the
Yeah, it will wait after the process has finished , in most cases. After investigating the cause a little bit more, to find at least a bug report or something. |
I think this issue is related woth this: haskell/process#107 |
It was causing hangs running test suites in Windows
Finally i opted to remove it entirely, with the hope that if it ends to be needed in windows, we will find a way to make it work |
Thanks! Do you want a release for this? |
No at this moment, thanks! |
Remove waitForProcess in finalizer
It was causing hangs running test suites in Windows.
Not sure why it was included, i've tried to make it works but only removing it did it