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

Function cleanup_gvproxy

crates/openshell-driver-vm/src/runtime.rs:1355–1362  ·  view source on GitHub ↗
(mut guard: Option<GvproxyGuard>)

Source from the content-addressed store, hash-verified

1353}
1354
1355fn cleanup_gvproxy(mut guard: Option<GvproxyGuard>) {
1356 if let Some(mut guard) = guard.take()
1357 && let Some(mut child) = guard.disarm()
1358 {
1359 let _ = child.kill();
1360 let _ = child.wait();
1361 }
1362}
1363
1364fn check(ret: i32, func: &'static str) -> Result<(), String> {
1365 if ret < 0 {

Callers 1

run_libkrun_vmFunction · 0.85

Calls 3

killMethod · 0.80
waitMethod · 0.80
disarmMethod · 0.45

Tested by

no test coverage detected