[PATCH] D52420: [clangd] Fix crash if pending computations were active on exit
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 24 07:39:21 PDT 2018
ilya-biryukov created this revision.
ilya-biryukov added reviewers: sammccall, ioeric.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay.
Make sure JSONRPCDispatcher outlives the worker threads, they access
its fields to remove the stored cancellations when Context dies.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52420
Files:
clangd/ClangdLSPServer.cpp
clangd/ClangdLSPServer.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52420.166684.patch
Type: text/x-patch
Size: 12559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180924/8370822f/attachment.bin>
More information about the cfe-commits
mailing list