mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Fix crash
This commit is contained in:
parent
ba973ba1bf
commit
57e5fe1814
@ -404,7 +404,8 @@ void CompletionQueryMain(ClangCompleteManager* completion_manager) {
|
||||
kCompleteOptions);
|
||||
if (!cx_results) {
|
||||
timer.ResetAndPrint("[complete] Code completion failed");
|
||||
request->on_complete({}, false /*is_cached_result*/);
|
||||
if (request->on_complete)
|
||||
request->on_complete({}, false /*is_cached_result*/);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user