aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/handlers
diff options
context:
space:
mode:
authorA-Walrus2023-04-17 20:36:04 +0000
committerGitHub2023-04-17 20:36:04 +0000
commit8839eb0af47b99511956d81a6dbb32e948d2076c (patch)
tree91c19ea13a5a7de4731c37e9cc728a30c177fb63 /helix-view/src/handlers
parent1b016a89d546fb84d3c737d7c4bacb9e26c8b893 (diff)
Fix unwrap bug in DAP (#6786)
Diffstat (limited to 'helix-view/src/handlers')
-rw-r--r--helix-view/src/handlers/dap.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/handlers/dap.rs b/helix-view/src/handlers/dap.rs
index 107c29be..3da01494 100644
--- a/helix-view/src/handlers/dap.rs
+++ b/helix-view/src/handlers/dap.rs
@@ -321,6 +321,7 @@ impl Editor {
}
}
None => {
+ self.debugger = None;
self.set_status(
"Terminated debugging session and disconnected debugger.",
);