[lldb-dap] Fix type req->arguments == "disconnect" (#149446)

This typo was introduced in PR #140331. This branch will never get
executed. We also set the `disconnecting = true` in the
`DAP::Disconnect()` so I am not sure if we need it in both places.
This commit is contained in:
Wanyi 2025-07-18 01:14:28 -04:00 committed by GitHub
parent 03fe1a493d
commit de453e8697
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -983,7 +983,7 @@ llvm::Error DAP::Loop() {
if (const protocol::Request *req =
std::get_if<protocol::Request>(&*next);
req && req->arguments == "disconnect")
req && req->command == "disconnect")
disconnecting = true;
const std::optional<CancelArguments> cancel_args =