Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless loop #247

Closed
sumneko opened this issue Nov 11, 2020 · 2 comments
Closed

Endless loop #247

sumneko opened this issue Nov 11, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@sumneko
Copy link
Collaborator

sumneko commented Nov 11, 2020

It seems that in some cases it will fall into an endless loop.
If you can find any clues (for example, opening a specific file or performing a specific operation will cause an endless loop), please give me your feedback. Thank you!

@sumneko sumneko added the help wanted Extra attention is needed label Nov 11, 2020
@sumneko sumneko mentioned this issue Nov 11, 2020
@codecat
Copy link

codecat commented Nov 11, 2020

I noticed that simply closing VSCode after using the extension can cause the process to hang at 100% CPU, but there may be other cases as well. I'll do some more testing tomorrow.

@codecat
Copy link

codecat commented Nov 11, 2020

Thanks for the quick fix! ❤️

wincent added a commit to wincent/wincent that referenced this issue Dec 15, 2021
Seeing as lua-language-server regularly pegs the CPU for me, and it's
been a while since I built it, going to see whether a new version fixes
it. This change from November 2020:

    LuaLS/lua-language-server#247

looks promising, and I think my build predates that... Fingers crossed.

Built using:

    cd $path_to_clone_of_lua_language_server_repo
    git pull
    git submodule update --recursive
    cd 3rd/luamake
    ./compile/install.sh
    cd ../..
    ./3rd/luamake/luamake rebuild

Then back out unsolicited changes to `~/.zshrc` 🤦 and update path in my
config to the built executable (the binary in the `macOS/` subdirectory
is there, but won't boot, failing to load "bee.so" which is right next
to it).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants