summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/stream.ts
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2018-12-09 13:09:31 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-12-09 13:09:31 +0900
commit706d47ec326059acfe21dc3990ac5f131e65c2e7 (patch)
treecc43dc4ca764e625ac7647dae2b74a517fc86ce2 /src/client/app/common/scripts/stream.ts
parentRefactor getChildrenCount (#3554) (diff)
downloadsharkey-706d47ec326059acfe21dc3990ac5f131e65c2e7.tar.gz
sharkey-706d47ec326059acfe21dc3990ac5f131e65c2e7.tar.bz2
sharkey-706d47ec326059acfe21dc3990ac5f131e65c2e7.zip
#2501 (#3560)
* #2501 * Update stream.ts
Diffstat (limited to 'src/client/app/common/scripts/stream.ts')
-rw-r--r--src/client/app/common/scripts/stream.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/app/common/scripts/stream.ts b/src/client/app/common/scripts/stream.ts
index 345b112b15..80278a76f6 100644
--- a/src/client/app/common/scripts/stream.ts
+++ b/src/client/app/common/scripts/stream.ts
@@ -75,12 +75,10 @@ export default class Stream extends EventEmitter {
// チャンネル再接続
if (isReconnect) {
- this.sharedConnectionPools.forEach(p => {
+ for (const p of this.sharedConnectionPools)
p.connect();
- });
- this.nonSharedConnections.forEach(c => {
+ for (const c of this.nonSharedConnections)
c.connect();
- });
}
}