Remove the session for a sandbox.
(&self, sandbox_id: &str)
| 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. |
no outgoing calls