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

Method release_subnet

crates/openshell-driver-vm/src/driver.rs:1335–1339  ·  view source on GitHub ↗
(&self, sandbox_id: &str)

Source from the content-addressed store, hash-verified

1333 }
1334
1335 fn release_subnet(&self, sandbox_id: &str) {
1336 if let Ok(mut alloc) = self.subnet_allocator.lock() {
1337 alloc.release(sandbox_id);
1338 }
1339 }
1340
1341 fn release_allocations(&self, sandbox_id: &str, has_gpu: bool, has_qemu_network: bool) {
1342 if has_gpu {

Calls 1

releaseMethod · 0.45