chiark / gitweb /
impl InstanceGuard::game_destroy
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 17 Jul 2020 23:20:26 +0000 (00:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 17 Jul 2020 23:20:26 +0000 (00:20 +0100)
src/global.rs

index 59b20bdf9bfd5405432583c939aeff111559551f..c2fec9b0ebc0e451326e8aaafd698e671dd3689f 100644 (file)
@@ -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);
   }