mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix enumeration value of SymbolKind.
Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients. Close client connections when stop gdscript-lsp
This commit is contained in:
parent
d66cce0215
commit
39813939fc
3 changed files with 65 additions and 52 deletions
|
@ -153,7 +153,12 @@ Error GDScriptLanguageProtocol::start(int p_port) {
|
|||
}
|
||||
|
||||
void GDScriptLanguageProtocol::stop() {
|
||||
const int *ptr = NULL;
|
||||
while (ptr = clients.next(ptr)) {
|
||||
clients.get(*ptr)->close();
|
||||
}
|
||||
server->stop();
|
||||
clients.clear();
|
||||
}
|
||||
|
||||
void GDScriptLanguageProtocol::notify_all_clients(const String &p_method, const Variant &p_params) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue