|
|
@ -181,7 +181,7 @@ class DJ {
|
|
|
|
this.queue = [];
|
|
|
|
this.queue = [];
|
|
|
|
logger.verbose("Stopping music...");
|
|
|
|
logger.verbose("Stopping music...");
|
|
|
|
if (this.disp !== null) {
|
|
|
|
if (this.disp !== null) {
|
|
|
|
this.disp.end();
|
|
|
|
this.disp.end(); // FIXME: Triggers the dispatcher end event that calls stop again
|
|
|
|
logger.debug("Ended dispatcher");
|
|
|
|
logger.debug("Ended dispatcher");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.conn !== null) {
|
|
|
|
if (this.conn !== null) {
|
|
|
|