From 918f2cf6cf64663048ab78af349818b0f33d5455 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 17 Nov 2017 21:17:30 +0900 Subject: [PATCH] :v: --- src/web/app/common/scripts/streaming/stream-manager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web/app/common/scripts/streaming/stream-manager.ts b/src/web/app/common/scripts/streaming/stream-manager.ts index 23ad48970e..5bb0dc701c 100644 --- a/src/web/app/common/scripts/streaming/stream-manager.ts +++ b/src/web/app/common/scripts/streaming/stream-manager.ts @@ -79,6 +79,8 @@ export default abstract class StreamManager extends EventE // また直ぐに再利用される可能性があるので、一定時間待ち、 // 新たな利用者が現れなければコネクションを切断する this.disposeTimerId = setTimeout(() => { + this.disposeTimerId = null; + this.connection.close(); this.connection = null; }, 3000);