Avoid removing websocket_api subscription in mobile_app teardown (#115540)
This commit is contained in:
parent
008c42e282
commit
b9d4d0e15d
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue