diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 14:35:00 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 14:35:00 +0900 |
| commit | de5dc87cec2c171ecd890731a3b6978d33249e21 (patch) | |
| tree | 456da3e42b771b2dae7f544b16b17f5768266f78 /src/web/app/common/scripts | |
| parent | [Client] Fix bugs (diff) | |
| download | sharkey-de5dc87cec2c171ecd890731a3b6978d33249e21.tar.gz sharkey-de5dc87cec2c171ecd890731a3b6978d33249e21.tar.bz2 sharkey-de5dc87cec2c171ecd890731a3b6978d33249e21.zip | |
[Client] Fix bug, some refactorings
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/stream.js | 2 |
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)); } |