diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-17 21:17:30 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-17 21:17:30 +0900 |
| commit | 918f2cf6cf64663048ab78af349818b0f33d5455 (patch) | |
| tree | 38abede64ac7bd88a3c5fa90727d80278d2a1f99 /src/web/app/common/scripts | |
| parent | v3136 (diff) | |
| download | sharkey-918f2cf6cf64663048ab78af349818b0f33d5455.tar.gz sharkey-918f2cf6cf64663048ab78af349818b0f33d5455.tar.bz2 sharkey-918f2cf6cf64663048ab78af349818b0f33d5455.zip | |
:v:
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/streaming/stream-manager.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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<T extends Connection> extends EventE // また直ぐに再利用される可能性があるので、一定時間待ち、 // 新たな利用者が現れなければコネクションを切断する this.disposeTimerId = setTimeout(() => { + this.disposeTimerId = null; + this.connection.close(); this.connection = null; }, 3000); |