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

Method remove

crates/openshell-server/src/supervisor_session.rs:147–149  ·  view source on GitHub ↗

Remove the session for a sandbox.

(&self, sandbox_id: &str)

Source from the content-addressed store, hash-verified

145
146 /// Remove the session for a sandbox.
147 fn remove(&self, sandbox_id: &str) {
148 self.sessions.lock().unwrap().remove(sandbox_id);
149 }
150
151 /// Remove the session only if its `session_id` matches the one we are
152 /// cleaning up. Returns `true` if the entry was removed.

Callers 7

registerMethod · 0.45
remove_if_currentMethod · 0.45
fail_pending_relayMethod · 0.45
claim_relayMethod · 0.45
cleanup_sandboxMethod · 0.45
registry_removeFunction · 0.45

Calls

no outgoing calls

Tested by 1

registry_removeFunction · 0.36