1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Add custom api textDocument/nativeSymbol to allow inspect native symbols from LSP clients

This commit is contained in:
geequlim
2019-10-04 20:53:40 +08:00
parent 39813939fc
commit e199488bc7
6 changed files with 58 additions and 5 deletions

View File

@@ -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();