MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / release_allocations

Method release_allocations

crates/openshell-driver-vm/src/driver.rs:1341–1348  ·  view source on GitHub ↗
(&self, sandbox_id: &str, has_gpu: bool, has_qemu_network: bool)

Source from the content-addressed store, hash-verified

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);

Callers 2

delete_sandboxMethod · 0.80
monitor_sandboxMethod · 0.80

Calls 2

release_gpuMethod · 0.80
release_subnetMethod · 0.80

Tested by

no test coverage detected