Add custom api textDocument/nativeSymbol to allow inspect native symbols from LSP clients
This commit is contained in:
1 parent
39813939fc
commit
e199488bc7
6 files changed
+58
-5
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user