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

Method cleanup_sandbox

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

Clean up all state for a sandbox (session + pending relays).

(&self, sandbox_id: &str)

Source from the content-addressed store, hash-verified

392
393 /// Clean up all state for a sandbox (session + pending relays).
394 pub fn cleanup_sandbox(&self, sandbox_id: &str) {
395 self.remove(sandbox_id);
396 }
397
398 pub async fn replay_pending_relays(&self, sandbox_id: &str, tx: &mpsc::Sender<GatewayMessage>) {
399 for channel_id in self.pending_channel_ids(sandbox_id) {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected