mirror of https://github.com/Chocobozzz/PeerTube
Don't save the session twice
parent
a63943feae
commit
c08a7f16e7
|
@ -384,6 +384,9 @@ class LiveManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
private onMuxingFFmpegEnd (videoUUID: string, sessionId: string) {
|
private onMuxingFFmpegEnd (videoUUID: string, sessionId: string) {
|
||||||
|
// Session already cleaned up
|
||||||
|
if (!this.videoSessions.has(videoUUID)) return
|
||||||
|
|
||||||
this.videoSessions.delete(videoUUID)
|
this.videoSessions.delete(videoUUID)
|
||||||
|
|
||||||
this.saveEndingSession(videoUUID, null)
|
this.saveEndingSession(videoUUID, null)
|
||||||
|
|
Loading…
Reference in New Issue