mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Started implementing LSP workspace diagnostic to find that not a single LSP implements it, so I just wasted 2 hours of my life. I'll keep the base structure for the future.
This commit is contained in:
@@ -222,7 +222,7 @@ void PluginManager::sendBroadcast( Plugin* pluginWho, PluginMessageType type,
|
||||
subscribedPlugins = mSubscribedPlugins;
|
||||
}
|
||||
for ( const auto& plugin : subscribedPlugins )
|
||||
if ( pluginWho->getId() != plugin.first )
|
||||
if ( nullptr == pluginWho || pluginWho->getId() != plugin.first )
|
||||
plugin.second( { type, format, data, -1 } );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user