Fix crash on LSP reload.

Fix document symbols not being sorted (some LSPs do not sort the symbols for some reason).
Update efsw.
This commit is contained in:
Martín Lucas Golini
2024-09-03 19:17:08 -03:00
parent bdc94fa587
commit 060e4f4450
3 changed files with 16 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
#include "../../version.hpp"
#include "lspclientplugin.hpp"
#include "../../version.hpp"
#include <eepp/graphics/primitives.hpp>
#include <eepp/system/filesystem.hpp>
#include <eepp/system/lock.hpp>
@@ -260,6 +260,8 @@ LSPClientPlugin::~LSPClientPlugin() {
}
for ( auto listener : editor.second )
editor.first->removeEventListener( listener );
if ( mBreadcrumb )
editor.first->unregisterTopSpace( this );
editor.first->unregisterPlugin( this );
}
if ( nullptr == mManager->getSplitter() )