mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-04-19 21:03:56 +02:00
Disconnect when finished playing
This commit is contained in:
parent
3de34e5e4a
commit
362ce89987
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ export default class {
|
||||||
await this.play();
|
await this.play();
|
||||||
} else {
|
} else {
|
||||||
this.status = STATUS.PAUSED;
|
this.status = STATUS.PAUSED;
|
||||||
|
this.disconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue