diff --git a/src/exec/interactive.rs b/src/exec/interactive.rs index 1da4f8e4..3aa06ebc 100644 --- a/src/exec/interactive.rs +++ b/src/exec/interactive.rs @@ -97,7 +97,8 @@ impl InteractiveBrowse { let (hangup_tx, hangup_rx): (Sender, Receiver) = bounded(0); // thread spawn fn enumerate_directory - permits recursion into dirs without blocking - let background_handle = thread::spawn(move || { + // let background_handle = + thread::spawn(move || { // no way to propagate error from closure so exit and explain error here RecursiveSearch::exec(&requested_dir_clone, tx_item.clone(), hangup_rx.clone()) }); @@ -148,9 +149,9 @@ impl InteractiveBrowse { Ok(output) }); - background_handle - .join() - .map_err(|_err| HttmError::new("Background browse thread panicked."))?; + // background_handle + // .join() + // .map_err(|_err| HttmError::new("Background browse thread panicked."))?; display_handle.join().unwrap_or(Err( HttmError::new("Interactive browse thread panicked.").into()