Improve session stopping

This commit is contained in:
hensm
2022-03-15 10:32:17 +00:00
parent 3c175a740d
commit 5120a3a7ab
6 changed files with 14 additions and 28 deletions

View File

@@ -73,7 +73,7 @@ export default new (class extends TypedEventTarget<EventMap> {
const receiverDevice = this.receiverDevices.get(receiverDeviceId);
if (receiverDevice) {
this.bridgePort.postMessage({
subject: "bridge:stopCastApp",
subject: "bridge:stopCastSession",
data: { receiverDevice }
});
}

View File

@@ -200,7 +200,6 @@ async function getSelection(
"stop",
storeListener("stop", async ev => {
logger.info("Stopping receiver app...", ev.detail);
receiverDevices.stopReceiverApp(ev.detail.receiver.id);
resolve({