From: Ian Jackson Date: Fri, 17 Jul 2020 23:20:26 +0000 (+0100) Subject: impl InstanceGuard::game_destroy X-Git-Tag: otter-0.2.0~1313 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=69835271043bbf4c6118cd13e9625e001b1d4552;p=otter.git impl InstanceGuard::game_destroy --- diff --git a/src/global.rs b/src/global.rs index 59b20bdf..c2fec9b0 100644 --- a/src/global.rs +++ b/src/global.rs @@ -141,7 +141,7 @@ impl InstanceGuard<'_> { Id::global_tokens(PRIVATE_Y).write().unwrap().insert(token, iad); } - pub fn destroy(mut self) { + pub fn game_destroy(mut self) { Self::forget_all_tokens(&mut self.ig.tokens_players); Self::forget_all_tokens(&mut self.ig.tokens_clients); }