mark thread as running when resumed

imgbot
Dmitry Sharshakov 3 years ago
parent 9a1916ebfd
commit cb31d20b46

@ -299,7 +299,9 @@ impl Application {
self.editor.set_status(status); self.editor.set_status(status);
} }
Event::Continued(events::Continued { thread_id, .. }) => { Event::Continued(events::Continued { thread_id, .. }) => {
debugger.thread_states.remove(&thread_id); debugger
.thread_states
.insert(thread_id, "running".to_owned());
if debugger.thread_id == Some(thread_id) { if debugger.thread_id == Some(thread_id) {
resume_application(debugger) resume_application(debugger)
} }

Loading…
Cancel
Save