mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Add custom api textDocument/nativeSymbol
to allow inspect native symbols from LSP clients
This commit is contained in:
parent
39813939fc
commit
e199488bc7
6 changed files with 58 additions and 5 deletions
|
@ -153,9 +153,10 @@ Error GDScriptLanguageProtocol::start(int p_port) {
|
|||
}
|
||||
|
||||
void GDScriptLanguageProtocol::stop() {
|
||||
const int *ptr = NULL;
|
||||
while (ptr = clients.next(ptr)) {
|
||||
const int *ptr = clients.next(NULL);
|
||||
while (ptr) {
|
||||
clients.get(*ptr)->close();
|
||||
ptr = clients.next(ptr);
|
||||
}
|
||||
server->stop();
|
||||
clients.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue