(&self, sandbox_id: &str)
| 1325 | } |
| 1326 | |
| 1327 | fn release_gpu(&self, sandbox_id: &str) { |
| 1328 | if let Some(inventory) = self.gpu_inventory.as_ref() |
| 1329 | && let Ok(mut inv) = inventory.lock() |
| 1330 | { |
| 1331 | inv.release(sandbox_id); |
| 1332 | } |
| 1333 | } |
| 1334 | |
| 1335 | fn release_subnet(&self, sandbox_id: &str) { |
| 1336 | if let Ok(mut alloc) = self.subnet_allocator.lock() { |
no test coverage detected