(&self, sandbox_id: &str, has_gpu: bool, has_qemu_network: bool)
| 1339 | } |
| 1340 | |
| 1341 | fn release_allocations(&self, sandbox_id: &str, has_gpu: bool, has_qemu_network: bool) { |
| 1342 | if has_gpu { |
| 1343 | self.release_gpu(sandbox_id); |
| 1344 | } |
| 1345 | if has_qemu_network { |
| 1346 | self.release_subnet(sandbox_id); |
| 1347 | } |
| 1348 | } |
| 1349 | |
| 1350 | fn release_gpu_and_subnet(&self, sandbox_id: &str) { |
| 1351 | self.release_gpu(sandbox_id); |
no test coverage detected