| 77 | |
| 78 | impl ExecutablesTab { |
| 79 | fn handle_executable_drops(&mut self, ctx: &egui::Context) { |
| 80 | ctx.input(|i| { |
| 81 | self.ingest_queue |
| 82 | .extend(i.raw.dropped_files.iter().filter_map(|x| x.path.clone())) |
| 83 | }); |
| 84 | |
| 85 | if matches!(&self.active_ingest_task, Some(task) if task.done()) { |
| 86 | if let Err(e) = self.active_ingest_task.take().unwrap().join() { |
| 87 | tracing::error!("Executable ingestion failed: {e:?}") |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | fn draw_symbol_ingest_area(&mut self, ui: &mut Ui) { |
| 93 | let ingest_status = if let Some(ref active_task) = self.active_ingest_task { |