aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live/live-manager.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-17 17:08:47 +0200
committerChocobozzz <me@florianbigard.com>2021-06-17 17:09:58 +0200
commite466544fb942992bbf9c455ad2168dc1b9111d97 (patch)
treeb9ec84759846d58fed2af857020558d9bf80a230 /server/lib/live/live-manager.ts
parent52fb1d97baa67137e3a9afadb2cc9ec2cfc04952 (diff)
downloadPeerTube-e466544fb942992bbf9c455ad2168dc1b9111d97.tar.gz
PeerTube-e466544fb942992bbf9c455ad2168dc1b9111d97.tar.zst
PeerTube-e466544fb942992bbf9c455ad2168dc1b9111d97.zip
Fix muxing cleanup
Diffstat (limited to 'server/lib/live/live-manager.ts')
-rw-r--r--server/lib/live/live-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts
index 1863c0b0c..014cd3fcf 100644
--- a/server/lib/live/live-manager.ts
+++ b/server/lib/live/live-manager.ts
@@ -160,8 +160,8 @@ class LiveManager {
160 160
161 const muxingSession = this.muxingSessions.get(sessionId) 161 const muxingSession = this.muxingSessions.get(sessionId)
162 if (muxingSession) { 162 if (muxingSession) {
163 // Muxing session will fire and event so we correctly cleanup the session
163 muxingSession.abort() 164 muxingSession.abort()
164 muxingSession.destroy()
165 165
166 this.muxingSessions.delete(sessionId) 166 this.muxingSessions.delete(sessionId)
167 } 167 }