[Lldb-commits] [lldb] [vscode-lldb] Fix race condition when changing lldb-dap arguments (PR #151828)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 5 11:47:28 PDT 2025
================
@@ -39,8 +39,10 @@ export class LLDBDapServer implements vscode.Disposable {
const process = child_process.spawn(dapPath, dapArgs, options);
process.on("error", (error) => {
reject(error);
- this.serverProcess = undefined;
- this.serverInfo = undefined;
+ if (this.serverProcess === process) {
----------------
royitaqi wrote:
Updated. Take a look when you have the time.
https://github.com/llvm/llvm-project/pull/151828
More information about the lldb-commits
mailing list