ilya-biryukov added inline comments.
================ Comment at: clangd/ClangdLSPServer.cpp:483 + // Destroy ClangdServer to ensure all worker threads finish. + Server.reset(); ---------------- ioeric wrote: > This woudn't work if `run()` is called multiple times. Maybe create a > `Server` in each `run()`? run() asserts it's never called multiple times, so we don't break the contract. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D52420 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits