summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-07 18:23:12 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-07 18:23:12 +0900
commit70123805e10a2350883e7f96cccea6e9ab9a1dbc (patch)
tree0ba923fc4a98b1a4c213c8ecb73cde5b15781add /src/client/app
parentClean up (diff)
downloadmisskey-70123805e10a2350883e7f96cccea6e9ab9a1dbc.tar.gz
misskey-70123805e10a2350883e7f96cccea6e9ab9a1dbc.tar.bz2
misskey-70123805e10a2350883e7f96cccea6e9ab9a1dbc.zip
Fix #4866
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/common/views/components/games/reversi/reversi.game.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/games/reversi/reversi.game.vue b/src/client/app/common/views/components/games/reversi/reversi.game.vue
index bd0401f785..315fb464b2 100644
--- a/src/client/app/common/views/components/games/reversi/reversi.game.vue
+++ b/src/client/app/common/views/components/games/reversi/reversi.game.vue
@@ -200,6 +200,7 @@ export default Vue.extend({
// 通信を取りこぼしてもいいように定期的にポーリングさせる
if (this.game.isStarted && !this.game.isEnded) {
this.pollingClock = setInterval(() => {
+ if (this.game.isEnded) return;
const crc32 = CRC32.str(this.logs.map(x => x.pos.toString()).join(''));
this.connection.send('check', {
crc32: crc32