aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorJohn Harrison <harjohn@google.com>2025-04-16 07:52:16 -0700
committerGitHub <noreply@github.com>2025-04-16 07:52:16 -0700
commit183cb45c1280b80a0022649d1db8a93544bb97b0 (patch)
tree7d86ad4c68124148a2f06843042f37db4108f368 /clang/lib/Sema/SemaModule.cpp
parent9483aaaaaa427b5dcb9a7af8f232a4696eef94bf (diff)
downloadllvm-183cb45c1280b80a0022649d1db8a93544bb97b0.zip
llvm-183cb45c1280b80a0022649d1db8a93544bb97b0.tar.gz
llvm-183cb45c1280b80a0022649d1db8a93544bb97b0.tar.bz2
[lldb-dap] Fixing a race during disconnect. (#135872)
While attempting to disconnect the DAP transport reader thread is setting `disconnecting` as soon as it sees a [disconnect request](https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Disconnect). However, if it is processing another request when this disconnect arrives the `DAP::Loop` handler may exit the loop without replying to the disconnect request. There has been some instability on the CI jobs due to this race, for example https://lab.llvm.org/buildbot/#/builders/59/builds/16076 To address this, ensure we only return from `DAP::Loop` once we've emptied the queue.
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions