Clean up all state for a sandbox (session + pending relays).
(&self, sandbox_id: &str)
| 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) { |