summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/stream.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/stream.js b/src/web/app/common/scripts/stream.js
index cbdde8d2f2..5296abfde8 100644
--- a/src/web/app/common/scripts/stream.js
+++ b/src/web/app/common/scripts/stream.js
@@ -45,6 +45,8 @@ class Connection {
}
send(message) {
+ // TODO: バッファリングしてつぎ接続した時に送信する
+ if (this.state != 'connected') return;
this.socket.send(JSON.stringify(message));
}