Merge pull request #212 from play-dl/developer

1.6.1
This commit is contained in:
Killer069 2021-12-20 15:10:08 +05:30 committed by GitHub
commit 90ad76036b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "play-dl", "name": "play-dl",
"version": "1.5.0", "version": "1.6.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "play-dl", "name": "play-dl",
"version": "1.5.0", "version": "1.6.0",
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"play-audio": "^0.4.3" "play-audio": "^0.4.3"

View File

@ -199,7 +199,7 @@ export class SeekStream {
stream.on('end', () => { stream.on('end', () => {
if (end >= this.content_length) { if (end >= this.content_length) {
this.timer.destroy(); this.timer.destroy();
this.stream.write(null); this.stream.end();
this.cleanup(); this.cleanup();
} }
}); });