mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
Socket Fixed
This commit is contained in:
@@ -183,10 +183,8 @@ export class Stream {
|
||||
|
||||
private cleanup(){
|
||||
clearTimeout(this.timer as NodeJS.Timer)
|
||||
this.socket?.end()
|
||||
this.socket?.on('close', () => {
|
||||
console.log('Socket Closed')
|
||||
})
|
||||
this.socket?.destroy()
|
||||
this.socket = null
|
||||
this.timer = null
|
||||
this.url = ''
|
||||
this.bytes_count = 0
|
||||
|
||||
Reference in New Issue
Block a user