mark thread as running when resumed

pull/574/head
Dmitry Sharshakov 2021-09-04 10:22:29 +03:00
parent 9a1916ebfd
commit cb31d20b46
1 changed files with 3 additions and 1 deletions

View File

@ -299,7 +299,9 @@ impl Application {
self.editor.set_status(status);
}
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) {
resume_application(debugger)
}