mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
actually log the damn reason
This commit is contained in:
parent
7818d37042
commit
5749eb6bb0
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class AudioPlayer extends EventEmitter {
|
|||
|
||||
cleanup(checkStream, reason) {
|
||||
// cleanup is a lot less aggressive than v9 because it doesn't try to kill every single stream it is aware of
|
||||
console.log(Date.now(), 'clean up triggered');
|
||||
console.log(Date.now(), 'clean up triggered due to', reason);
|
||||
const filter = checkStream && this.currentDispatcher && this.currentDispatcher.stream === checkStream;
|
||||
if (this.currentConverter && (checkStream ? filter : true)) {
|
||||
if (this.currentConverter.process.stdin.destroy) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue