diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/lib/live/live-manager.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts index aa32a9d52..c78cf82eb 100644 --- a/server/lib/live/live-manager.ts +++ b/server/lib/live/live-manager.ts | |||
@@ -384,6 +384,9 @@ class LiveManager { | |||
384 | } | 384 | } |
385 | 385 | ||
386 | private onMuxingFFmpegEnd (videoUUID: string, sessionId: string) { | 386 | private onMuxingFFmpegEnd (videoUUID: string, sessionId: string) { |
387 | // Session already cleaned up | ||
388 | if (!this.videoSessions.has(videoUUID)) return | ||
389 | |||
387 | this.videoSessions.delete(videoUUID) | 390 | this.videoSessions.delete(videoUUID) |
388 | 391 | ||
389 | this.saveEndingSession(videoUUID, null) | 392 | this.saveEndingSession(videoUUID, null) |