chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a3a4d
)
impl InstanceGuard::game_destroy
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 17 Jul 2020 23:20:26 +0000
(
00:20
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 17 Jul 2020 23:20:26 +0000
(
00:20
+0100)
src/global.rs
patch
|
blob
|
history
diff --git
a/src/global.rs
b/src/global.rs
index 59b20bdf9bfd5405432583c939aeff111559551f..c2fec9b0ebc0e451326e8aaafd698e671dd3689f 100644
(file)
--- 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);
}