LSP plugin: Try fix a deadlock. Support string/UUID message IDs. Fixed response/notification parsing.
This commit is contained in:
Martín Lucas Golini
2022-11-12 21:05:35 -03:00
parent 9fc01999f3
commit ae9879c9b4
9 changed files with 170 additions and 40 deletions

View File

@@ -116,7 +116,7 @@ PluginRequestHandle LSPClientPlugin::processCancelRequest( const PluginMessage&
if ( !server )
return {};
return server->cancel( msg.asJSON().value( "id", 0 ) );
return server->cancel( LSPClientServer::getID( msg.asJSON() ) );
}
PluginRequestHandle LSPClientPlugin::processMessage( const PluginMessage& msg ) {