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

Method drop

crates/openshell-driver-vm/src/runtime.rs:619–623  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

617
618impl Drop for TapGuard {
619 fn drop(&mut self) {
620 if !self.disarmed {
621 teardown_tap_networking(&self.tap_device, &self.host_ip, self.gateway_port);
622 }
623 }
624}
625
626/// Shared procguard cleanup callback for both libkrun and QEMU paths.

Callers

nothing calls this directly

Calls 3

teardown_tap_networkingFunction · 0.85
killMethod · 0.80
waitMethod · 0.80

Tested by

no test coverage detected