aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ec92a5d4..d65610ef 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -187,6 +187,9 @@ impl Application {
}
}
Some(payload) = self.editor.debugger_events.next() => {
+ if self.editor.debugger.is_none() {
+ continue;
+ }
let mut debugger = self.editor.debugger.as_mut().unwrap();
match payload {
Payload::Event(ev) => {