mirror of
https://github.com/reality/dbot.git
synced 2024-12-03 17:39:28 +01:00
try abort
This commit is contained in:
parent
a38f8df657
commit
2c1acab761
@ -42,7 +42,7 @@ var radio = function(dbot) {
|
||||
}.bind(this));
|
||||
|
||||
stream.on('end', function() {
|
||||
this.stream.end();
|
||||
this.stream.end();
|
||||
this.listening = false;
|
||||
}.bind(this));
|
||||
}.bind(this),
|
||||
@ -59,7 +59,7 @@ var radio = function(dbot) {
|
||||
this.internalAPI.getRadio();
|
||||
}.bind(this);
|
||||
this.onDestroy = function() {
|
||||
this.stream.end();
|
||||
this.stream.abort();
|
||||
}.bind(this);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user