diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-17 17:08:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-17 17:09:58 +0200 |
commit | e466544fb942992bbf9c455ad2168dc1b9111d97 (patch) | |
tree | b9ec84759846d58fed2af857020558d9bf80a230 /server/lib/live/live-manager.ts | |
parent | 52fb1d97baa67137e3a9afadb2cc9ec2cfc04952 (diff) | |
download | PeerTube-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.ts | 2 |
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 | } |