mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix muxing cleanup
This commit is contained in:
@@ -160,8 +160,8 @@ class LiveManager {
|
||||
|
||||
const muxingSession = this.muxingSessions.get(sessionId)
|
||||
if (muxingSession) {
|
||||
// Muxing session will fire and event so we correctly cleanup the session
|
||||
muxingSession.abort()
|
||||
muxingSession.destroy()
|
||||
|
||||
this.muxingSessions.delete(sessionId)
|
||||
}
|
||||
|
||||
@@ -60,8 +60,6 @@ class MuxingSession extends EventEmitter {
|
||||
private readonly videoUUID: string
|
||||
private readonly saveReplay: boolean
|
||||
|
||||
private toto: Buffer
|
||||
|
||||
private readonly lTags: LoggerTagsFn
|
||||
|
||||
private segmentsToProcessPerPlaylist: { [playlistId: string]: string[] } = {}
|
||||
|
||||
Reference in New Issue
Block a user