mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 02:26:29 +03:00
ecode: Gracefully shutdown LSP servers.
This commit is contained in:
@@ -43,7 +43,7 @@ bool PluginManager::setEnabled( const std::string& id, bool enable, bool sync )
|
||||
return true;
|
||||
}
|
||||
if ( !enable && plugin != nullptr ) {
|
||||
eeSAFE_DELETE( plugin );
|
||||
mThreadPool->run( [plugin]() { eeDelete( plugin ); } );
|
||||
{
|
||||
Lock l( mSubscribedPluginsMutex );
|
||||
mSubscribedPlugins.erase( id );
|
||||
|
||||
Reference in New Issue
Block a user