mirror of
https://github.com/MaskRay/ccls.git
synced 2025-12-16 12:13:30 +00:00
Format sources
This commit is contained in:
parent
d31cc9f076
commit
80d1964394
@ -686,9 +686,7 @@ void mainLoop() {
|
|||||||
// If the "exit" notification has been received, clear all index requests
|
// If the "exit" notification has been received, clear all index requests
|
||||||
// to make indexers stop in time.
|
// to make indexers stop in time.
|
||||||
if (g_quit.load(std::memory_order_relaxed)) {
|
if (g_quit.load(std::memory_order_relaxed)) {
|
||||||
index_request->apply([&](std::deque<IndexRequest> &q) {
|
index_request->apply([&](std::deque<IndexRequest> &q) { q.clear(); });
|
||||||
q.clear();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool indexed = false;
|
bool indexed = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user