We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b30ba54 commit 77130caCopy full SHA for 77130ca
lldb/tools/lldb-dap/DAP.cpp
@@ -872,6 +872,9 @@ llvm::Error DAP::Loop() {
872
continue;
873
}
874
875
+ if (llvm::Error err = next.takeError())
876
+ return err;
877
+
878
if (const protocol::Request *req =
879
std::get_if<protocol::Request>(&*next);
880
req && req->command == "disconnect") {
lldb/tools/lldb-dap/DAP.h
@@ -47,7 +47,6 @@
47
#include <memory>
48
#include <mutex>
49
#include <optional>
50
-#include <set>
51
#include <thread>
52
#include <vector>
53
0 commit comments