(&mut self, ctx: &egui::Context, jobs: &mut JobQueue, state: &AppStateRef)
| 108 | } |
| 109 | |
| 110 | pub fn post_update(&mut self, ctx: &egui::Context, jobs: &mut JobQueue, state: &AppStateRef) { |
| 111 | if self.queue_build { |
| 112 | self.queue_build = false; |
| 113 | if let Ok(mut state) = state.write() { |
| 114 | state.queue_build = true; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | if self.queue_check_update { |
| 119 | self.queue_check_update = false; |
| 120 | start_check_update(ctx, jobs); |
| 121 | } |
| 122 | |
| 123 | if let Some(bin_name) = self.queue_update.take() { |
| 124 | start_update(ctx, jobs, bin_name); |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | #[cfg(all(windows, feature = "wsl"))] |
nothing calls this directly
no test coverage detected