Skip to content

Commit 77130ca

Browse files
committed
Fixing post-merge issues.
1 parent b30ba54 commit 77130ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lldb/tools/lldb-dap/DAP.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,9 @@ llvm::Error DAP::Loop() {
872872
continue;
873873
}
874874

875+
if (llvm::Error err = next.takeError())
876+
return err;
877+
875878
if (const protocol::Request *req =
876879
std::get_if<protocol::Request>(&*next);
877880
req && req->command == "disconnect") {

lldb/tools/lldb-dap/DAP.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#include <memory>
4848
#include <mutex>
4949
#include <optional>
50-
#include <set>
5150
#include <thread>
5251
#include <vector>
5352

0 commit comments

Comments
 (0)