Fix scan thread hang on panic, update changelog

This commit is contained in:
2026-05-31 19:20:56 +02:00
parent 046fbb0101
commit 1320d71f3c
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -323,8 +323,10 @@ fn action_locate_saves<B: Backend>(terminal: &mut Terminal<B>, app: &mut App) ->
);
})?;
if let Ok(f) = rx.try_recv() {
break f;
match rx.try_recv() {
Ok(f) => break f,
Err(std::sync::mpsc::TryRecvError::Disconnected) => break Vec::new(),
_ => {}
}
std::thread::sleep(std::time::Duration::from_millis(100));
};