mirror of https://github.com/helix-editor/helix
fix crash when pausing
parent
74102bfc6d
commit
060a422c7e
|
@ -4415,7 +4415,8 @@ fn dap_pause(cx: &mut Context) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let request = debugger.pause(debugger.stopped_thread.unwrap());
|
// FIXME: correct number here
|
||||||
|
let request = debugger.pause(0);
|
||||||
let _ = block_on(request).unwrap();
|
let _ = block_on(request).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue