mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
Added some more unpiping
This commit is contained in:
@@ -65,6 +65,7 @@ export class LiveStreaming{
|
||||
private cleanup(){
|
||||
clearTimeout(this.timer as NodeJS.Timer)
|
||||
clearTimeout(this.dash_timer as NodeJS.Timer)
|
||||
this.request?.unpipe(this.stream)
|
||||
this.request?.destroy()
|
||||
this.dash_timer = null
|
||||
this.video_url = ''
|
||||
@@ -134,6 +135,7 @@ export class Stream {
|
||||
|
||||
private cleanup(){
|
||||
clearTimeout(this.timer as NodeJS.Timer)
|
||||
this.request?.unpipe(this.stream)
|
||||
this.request?.destroy()
|
||||
this.request = null
|
||||
this.timer = null
|
||||
|
||||
Reference in New Issue
Block a user