mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Avoid removing websocket_api subscription in mobile_app teardown (#115540)
This commit is contained in:
parent
008c42e282
commit
b9d4d0e15d
@ -112,9 +112,6 @@ async def handle_push_notification_channel(
|
|||||||
if registered_channels.get(webhook_id) == channel:
|
if registered_channels.get(webhook_id) == channel:
|
||||||
registered_channels.pop(webhook_id)
|
registered_channels.pop(webhook_id)
|
||||||
|
|
||||||
# Remove subscription from connection if still exists
|
|
||||||
connection.subscriptions.pop(msg["id"], None)
|
|
||||||
|
|
||||||
channel = registered_channels[webhook_id] = PushChannel(
|
channel = registered_channels[webhook_id] = PushChannel(
|
||||||
hass,
|
hass,
|
||||||
webhook_id,
|
webhook_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user