mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 17:19:59 +00:00
Improve session stopping
This commit is contained in:
@@ -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 }
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user