continue
                self._collect_results_from_processor(processor)
                self.waitables.pop(sentinel)
                self._processors.pop(processor.file_path)
            if self.standalone_dag_processor:
                self._fetch_callbacks(max_callbacks_per_loop)
            self._deactivate_stale_dags()
            DagWarning.purge_inactive_dag_warnings()
            refreshed_dag_dir = self._refresh_dag_dir()
            self._kill_timed_out_processors()
            
            
            if not self._file_path_queue:
                self.emit_metrics()
                self.prepare_file_path_queue()
            elif refreshed_dag_dir:
                self.add_new_file_path_to_queue()
            self.start_new_processes()
            
            self._num_run += 1
            if not self._async_mode:
                self.log.debug("Waiting for processors to finish since we're using sqlite")
                
                
                
                
                self.wait_until_finished()
            
            self.collect_results()
            self._print_stat()