================
@@ -748,7 +748,7 @@ bool DAP::HandleObject(const Message &M) {
     dispatcher.Set("client_data",
                    llvm::Twine("request_command:", req->command).str());
     if (handler_pos != request_handlers.end()) {
-      handler_pos->second->Run(*req);
+      defer = handler_pos->second->Run(*req);
----------------
ashgti wrote:

Should we check the deferred call here like?

```cpp
if (handler_pos->second->DeferRequest())
  m_pending_queue.push_back(M);
else
  handler_pos->second->Run(*req);
```

https://github.com/llvm/llvm-project/pull/140260
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to