mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Lambda captures clean up, plus other minor clean ups.
This commit is contained in:
@@ -43,7 +43,7 @@ void LSPDocumentClient::onDocumentTextChanged( const DocumentContentChange& chan
|
||||
// If several change event are being fired, the thread pool can't guaranteed that it will be
|
||||
// executed in FIFO. Se we accumulate the events in a queue and fire them in correct order.
|
||||
mServer->queueDidChange( mDoc->getURI(), mVersion, "", { change } );
|
||||
mServer->getThreadPool()->run( [&, change]() { mServer->processDidChangeQueue(); } );
|
||||
mServer->getThreadPool()->run( [this, change]() { mServer->processDidChangeQueue(); } );
|
||||
requestSymbolsDelayed();
|
||||
requestSemanticHighlightingDelayed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user