mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-03 15:32:09 +00:00
Fix crash
This commit is contained in:
parent
ba973ba1bf
commit
57e5fe1814
@ -404,7 +404,8 @@ void CompletionQueryMain(ClangCompleteManager* completion_manager) {
|
|||||||
kCompleteOptions);
|
kCompleteOptions);
|
||||||
if (!cx_results) {
|
if (!cx_results) {
|
||||||
timer.ResetAndPrint("[complete] Code completion failed");
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user