(self, cache_dir: Path, inference_service: DistributedInferenceService)
| 157 | async def cleanup(self): |
| 158 | self.stop_processing.set() |
| 159 | if self.processing_thread and self.processing_thread.is_alive(): |
| 160 | self.processing_thread.join(timeout=5) |
| 161 | |
| 162 | services = get_services() |
| 163 | if services.file_service: |
| 164 | await services.file_service.cleanup() |
| 165 |
no test coverage detected